Test‑IsNanoServer - dsccommunity/DscResource.Common GitHub Wiki
SYNOPSIS
Tests if the current OS is a Nano server.
SYNTAX
Test-IsNanoServer [<CommonParameters>]
DESCRIPTION
Tests if the current OS is a Nano server.
EXAMPLES
EXAMPLE 1
Test-IsNanoServer
Returns $true
if the current operating system is Nano Server, if not $false
is returned.
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.