Get-RmsSvcAccount
Get-RmsSvcAccount is accessible with the help of ADRMSAdmin module. To install ADRMSAdmin on your system please refer to this ADRMSAdmin.
Synopsis
Gets service account credentials for an Active Directory Rights Management Services (AD RMS) cluster.
Description
The Get-RmsSvcAccount cmdlet gets service account credentials for an Active Directory Rights Management Services (AD RMS) cluster.
To get the service account credentials, set the Path parameter to “:\” where is the drive ID of the provider drive associated with AD RMS cluster.
Parameters
-Path
Specifies a provider drive and path or relative path on the current drive. This parameter is required. Use a dot (.) to specify the current location. This parameter does not accept wildcards and has no default value.
Required? true
Position? 1
Default value String.empty
Accept pipeline input? false
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Get-RmsSvcAccount [-Path] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
————– EXAMPLE 1 ————–
C:\PS>Get-RmsSvcAccount -Path .
This command displays the AD RMS service account.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-RmsSvcAccount
You can also read about
- Set-RmsSvcAccount