For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DSAccountLifecyclePolicy

Synopsis

Get account lifecycle policies.

Syntax

__AllParameterSets

Get-DSAccountLifecyclePolicy [-Name <string>] [<CommonParameters>]

Description

Get one or multiple account lifecycle policies.

Examples

Example 1

PS C:\> $customPolicy = Get-DSAccountLifecyclePolicy -Name "My Custom Policy"
PS C:\> $policy = New-DSAccountLifecyclePolicyInfo -PolicyID $customPolicy.ID
PS C:\> New-DSPamProvider -Name "MyProvider" -CredentialType DomainUser -DomainName "mydomain.loc" -Username "admin" -Password "P@ssw0rd" -AccountLifecyclePolicy $policy

Create a PAM provider using an existing account lifecycle policy. Source is automatically set to "Custom".

Parameters

-Name

Name of the account lifecycle policy to fetch.

CommonParameters

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

Outputs

Devolutions.RemoteDesktopManager.Business.AccountLifecyclePolicy

Notes

For more information, type "Get-Help Get-DSAccountLifecyclePolicy -detailed". For technical information, type "Get-Help Get-DSAccountLifecyclePolicy -full".

Last updated

Was this helpful?