So Im building a GUI that when users connect to a remote workstation it polls all this info, one of them happens to be bitlocker. On windows 10 machines I use the get-bitlockervolume command, works perfectly. However the issue is when I do windows 7 machines. I have MBAM installed on them and can use manage-bde -status from ISE, but once I compile the script into an EXE via Powershell Studio and run the EXE the manage-bde commands say its not recognized. Is there something I need to do in order to see or use this command from the exe? Here is what I am doing.
$bde = manage-bde.exe -status c: -cn $computername
$bde | % {$WPFtextboxbitlocker.AppendText(“$`n”)}
submitted by /u/saGot3n
[link] [comments]
The post Powershell and non powershell commands appeared first on How to Code .NET.