脚本宝典收集整理的这篇文章主要介绍了PowerShell 获取系统信息的函数,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
$header = 'Hostname','OSName','OSVersion','OSManufacturer','OSconfiguration','OS Build TyPE','RegisteredOwner','Registeredorganization','PRoduct ID','Original Install Date','System Boot Time','System Manufacturer','System Model','System Type','Processor(s)','BIOS Version','Windows Directory','System Directory','Boot Device','System Locale','Input Locale','Time Zone','total Physical Memory','Available Physical Memory','Virtual Memory: Max Size','Virtual Memory: Available','Virtual Memory: In Use','Page File Location(s)','Domain','LOGon Server','Hotfix(s)','Network Card(s)'
systeminfo.exe /FO CSV /S $ComputerName |
Select-Object -skip 1 |
ConvertFrom-CSV -Header $header
}
以上是脚本宝典为你收集整理的PowerShell 获取系统信息的函数全部内容,希望文章能够帮你解决PowerShell 获取系统信息的函数所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。