Get-RmsSvcAccount

Gets service account credentials for an Active Directory Rights Management Services (AD RMS) cluster.

Syntax

Get-RmsSvcAccount
   [-Path] <String[]>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

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 <PSDrive>:\ where <PSDrive> is the drive ID of the provider drive associated with AD RMS cluster.

Examples

Example 1: Get the service account

PS C:\> Get-RmsSvcAccount -Path "."

This command displays the AD RMS service account.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies a provider drive and path or relative path on the current drive. Use a dot (.) to specify the current location. This parameter does not accept wildcards and has no default value.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

PSCredential