MichaelBalack
asked on
How to scan and detect the windows server versions remotely?
This is to find out about 100+ Windows Servers in our production. All these servers were joined Windows AD domain. We wanted to know on each individual server, what is the Windows Server version installed, CPU core and some other hardware information.
Do we need to have the administrative privileges? How about if we don't have the privilege? Would powershell manage to do the job?
Thanks in advance.
Do we need to have the administrative privileges? How about if we don't have the privilege? Would powershell manage to do the job?
Thanks in advance.
yes, you do need administrative privilege to do that especially you have no any remote access or system management agent in use on each client computer.
you maynuse PSEXEC to run VER or SET to learn and remotely grab the OS version info.
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
you maynuse PSEXEC to run VER or SET to learn and remotely grab the OS version info.
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
Hi,
You need admin privilege to do these type of tasks. You can do this via powershell as well.
From a server, Import -module active directory
Then
Get-ADComputer -Filter * -Property * | Format-Table Name,OperatingSystem,Opera tingSystem ServicePac k,Operatin gSystemVer sion -Wrap –Auto
This will list the whole machines name and you can filter it after exporting to excel.
Otherwise use this command to only filter server OS versions;
Get-ADComputer -Filter {OperatingSystem -Like “Windows Server*”} -Property * | Format-Table Name,OperatingSystem,Opera tingSystem ServicePac k -Wrap -Auto
Good luck
You need admin privilege to do these type of tasks. You can do this via powershell as well.
From a server, Import -module active directory
Then
Get-ADComputer -Filter * -Property * | Format-Table Name,OperatingSystem,Opera
This will list the whole machines name and you can filter it after exporting to excel.
Otherwise use this command to only filter server OS versions;
Get-ADComputer -Filter {OperatingSystem -Like “Windows Server*”} -Property * | Format-Table Name,OperatingSystem,Opera
Good luck
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for both experts, your suggestions and linked articles work.
ASKER