I am using little snippets to detect server roles with powershell and I am having some issues getting results ommited.
My Code:
Import-module servermanager ; Get-WindowsFeature | where-object {$_.Installed -eq $True} | format-list DisplayName
There here you specific which role to check:
Import-module servermanager ; (Get-WindowsFeature -name hyper-v).Installed
However whenever I try use the role "Backup" I get no results. I have also tried Backup-Features, Backup-Tools,Backup-cmdlets as specified at: https://technet.microsoft.com/en-us/library/cc732757.aspx
If I try the other roles they come back either True or False, but Backup doesnt display any results, could this be a bug in the module?
- Edited by EDTRUD 12 hours 0 minutes ago