摘要: 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... 阅读全文
posted @ 2013-11-03 21:22 motools 阅读(783) 评论(0) 推荐(0) 编辑