Export (0) Print
Expand All

Get-RmsSvcAccount

Windows Server 2012 R2 and Windows 8.1

Updated: June 4, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft