N
N
NuRsAk2015-02-10 08:49:42
PowerShell
NuRsAk, 2015-02-10 08:49:42

How to find out what roles are running on servers running Windows Server?

Good afternoon everyone :)
I have at my disposal a fleet of six dozen servers, mostly on Windows Server. I updated the documentation, I decided to describe what roles a separate server performs.
Logging in to each server manually and watching roles is too long and dreary, so I'm looking for a simpler option. I decided not to reinvent the wheel, but to turn to you, can anyone come across this? Servers from Windows 2003 to Windows 2008R2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-02-10
@NuRsAk

You need to understand that the installed service does not mean that the server has been assigned a role. This service can be disabled for example.
IMHO a dead end idea. It is better to do a normal revision once.
And so, the software shaft. Full of scripts. But they only give a list of installed software.
Again, this is just when the servers are in a domain. And if not, various difficulties arise.

A
Alexander Nikitin, 2015-02-10
@padla2k

For 2008+ servers there is a WMI class Win32_ServerFeature.
So you can use Get-WmiObject -Class Win32_ServerFeature -ComputerName $computerName.
For 2003 I don't even know. I haven't used them for a long time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question