POWERSHELL Get remote server Serial no using PowerShell


# Remote server Serial no using PowerShell

$computers = Get-Content c:\computerlist.txt
Get-wmiobject Win32_Bios –credential pugazh.co.in\administrator -ComputerName $computers | Select-Object __SERVER, SerialNumber


Note:
1. RPC port need to open.
2. Random port need to open - 49152 - 65535 & (1024 - 5000(TCP)
3. We can fix port for WMI - follow this link.

     https://msdn.microsoft.com/en-us/library/bb219447%28v=vs.85%29.aspx

Comments

Popular posts from this blog

Troubleshooting Netlogon Error Codes

Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe)

Troubleshooting AD Active Directory Replication Error 8456 or 8457: "The source | destination server is currently rejecting replication requests"