Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-RmsSvcAccount

Last Updated: 3/26/2017

SYNOPSIS

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
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: 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[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSCredential

NOTES

Using Windows PowerShell with AD RMS

Set-RmsSvcAccount

© 2017 Microsoft