Untitled
unknown
plain_text
a month ago
224 B
3
Indexable
Never
function Check-WinServer() { [CmdletBinding()] Param () $osName = (Get-ComputerInfo).OsName if ($osName.ToLower().Contains('windows server')) { return $true } return $false }
Leave a Comment