Get-RmsSvcAccount
Get-RmsSvcAccount
Gets service account credentials for an Active Directory Rights Management Services (AD RMS) cluster.
Syntax
Parameter Set: Default
Get-RmsSvcAccount [-Path] <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
HelpLongDescription 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 “<PSDrive>:\” where <PSDrive> is the drive ID of the provider drive associated with AD RMS cluster.
Parameters
-Path<String[]>
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.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
String.empty |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
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 |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- System.Management.Automation.PSCredential
Examples
-------------- EXAMPLE 1 --------------
This command displays the AD RMS service account.
C:\PS>Get-RmsSvcAccount -Path .
Related topics
com/fwlink/?LinkId=136806