摘要:
function Get-OSInfo ([string]$Server) { $object = Get-WmiObject win32_computersystem -ComputerName $Server $status = $object.Status $domain = $object.Domain $osversion = (Get-WmiObject Win32_OperatingSystem -ComputerName $Server).version $ip = (get-wmiobject win32_networkadapte... 阅读全文