Gets the current token issued by the Management Server to this PowerShell session.
Get-VmsToken cmdlet returns the token issued by the Management Server for
the current user session. Tokens are used internally to verify a user or service
has been authenticated by the Management and is authorized to access resources.
Tokens are renewed in the background automatically, and expire in 4 hours by default.
- Requires VMS connection and will attempt to connect automatically
Get a token from the currently selected management server.
Create a RecorderStatusService2 client which can be used to retrieve detailed server, storage, and device information from a recording server, retrieve a token specifically for the site that recording server is from, regardless of the currently selected site, and retrieve the recorder status using the token for authentication.
VideoOS.Platform.ServerId used to determine which token to return
when used in a Milestone Federated Hierarchy. All configuration items like management
servers and cameras have a ServerId property, and all
Get-VmsVideoOSItem have an FQID.ServerId property.
A value returned from
Get-VmsSite can be used to indicate the site for which the
returned token should be valid.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.