Jump to content

Recommended Posts

Posted
Does anyone know of any free software or a way to get an audit of what roles /features are installed on your servers without having to manually go through each server?
Posted

Run this in powershell:

 

[color=#373737][font=Helvetica Neue]Import-Module ServerManager[/font][/color]
[color=#373737][font=Helvetica Neue]Get-WindowsFeature | Where-Object {$_.Installed -match “True”} | Select-Object -Property Name

[/font][/color]

Posted

If you have PowerShell Remoting enabled on your servers, then you could do this...

 

$code = { Get-WindowsFeature | Where-Object { $_.Installed -match "True" } | Select-Object -Property Name }
$servers = 'server1', 'server2'

Invoke-Command -ScriptBlock $code -ComputerName $servers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...