Тип шасси: wmic /namespace:\\root\cimv2 path Win32_SystemEnclosure get ChassisTypes.Версия BIOS: wmic path win32_bios get biosversion, releasedate.Select-Object * -ExcludeProperty PSComputerName, Scope, Path, Options, ClassPath, Properties, SystemProperties, Qualifiers, Site, Container | Format-List -Property * Get-WmiObject -Class $classname -ComputerName $computer -Namespace $namespace | $namespace = "ROOT\cimv2" $classname = "Win32_ComputerSystem" Write-Output "=" Write-Output "COMPUTER : $computer " Write-Output "CLASS : $classname " Write-Output "=" Get-WmiObject -Class $classname -ComputerName $computer -Namespace $namespace | Select-Object * -ExcludeProperty PSComputerName, Scope, Path, Options, ClassPath, Properties, SystemProperties, Qualifiers, Site, Container | Format-List -Property *
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |