Get the server license information
Get-DSServerLicense [<CommonParameters>]
Get the server license information. The user must the right to manage the license to use te cmdlet.
PS C:\> $license = Get-DSServerLicence
PS C:\> $license.Serial
Obtain the server license serial
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
For more information, type "Get-Help Get-DSServerLicense -detailed". For technical information, type "Get-Help Get-DSServerLicense -full".