< Back

Get-NSLicenses

Mon Jan 13, 2020 9:05 pm

NAME Get-NSLicenses



SYNOPSIS

Using the Get-NSLicenses will get the current status of Licenses





SYNTAX

Get-NSLicenses [-LogErrors] [<CommonParameters>]





DESCRIPTION

This command provide details infoamtion about the Licenses



It contain below information.



1.LicenseServerName



As name describe



2.LicenseServerPort



As name describe



3.Active Sessions



As name describe



4.Peak users Concurrent Connected Count



The peak number of concurrent license users



5.Licensing Module



As name describe







.EXAMPLE.1



Using the below methoid will help to collect the error log at error.log file



Get-NSLicenses -Error 'E:\\Scripts\\Nadeem-Testing\\error.log'





.EXAMPLE.2



Using the below methoid will help to catch the warning messages under the variable $Catchwarning



Get-NSLicenses -WarningVariable $Catchwarning





PARAMETERS

-LogErrors [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS