다음을 통해 공유


Get-RmsSvcAccount

Get-RmsSvcAccount

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

Syntax

Get-RmsSvcAccount [-Path] <String[]> [-WhatIf] [-Confirm] [<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.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

1

-WhatIf <SwitchParameter>

Describes what would happen if you executed the command without actually executing the command.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see About Common Parameter

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Input Type

.

Return Type

System.Management.Automation.PSCredential. A PSCredential object that represents the service account credentials is passed to the pipeline.

Notes

Examples

EXAMPLE 1

C:\PS>Get-RmsSvcAccount -Path .

This command displays the AD RMS service account.

See Also

Reference

Set-RmsSvcAccount
com/fwlink/?LinkId=136806