Closed jantari closed 5 years ago
That would be possible but it is a little more involved, and for Invoke-Command
to work you need to have PSRemoting enabled on the remote computers.
Also, I'm not sure how Invoke-Command
returns results from multiple computers - I'm guessing in an array, but I'm not going to be able to test that for the next 2 weeks unfortunately so I'd be writing that code "blindly" based on what I assume.
So for now I won't be able to do that, but I can get back to you in 2 weeks (if you remind me) with another pull request. Once we have the Invoke-Command
version working we could also implement stuff like:
Get-ADComputer -Filter "Name -like 'TX-20*'" | Get-BitLockerInfo
Hi, I really liked your script "Get-BitLockerInfo.ps1" and saw some opportunities for improvements too!
manage-bde
is now more robust, simplified and works in Windows languages other than english (tested in German here, works!)I hope the changes are welcome, if you have any questions just ask before merging!