New-DSPamAccount
Synopsis
Create a pam account.
Syntax
__AllParameterSets
New-DSPamAccount -CredentialType <PamConnectionType> -VaultID <guid> -Name <string>
-ProviderID <guid> [-Group <string>] [-Permission <PSPermissionWrapper[]>]
[-ResetPasswordOnCheckIn] [-AsLegacyResponse] [-CustomProperties <hashtable>] [-Username <string>]
[-Password <string>] [-Description <string>] [<CommonParameters>]Description
Create a pam account. For custom account, custom properties are not supported yet.
Examples
Example 1
PS C:\> New-DSPamAccount -Name DomAcc -CredentialType DomainUser -FolderID $folderID -Username MyUsername -Password Pa$$w0rd! -Description "My description" -ProviderID $providerIDCreate an account with a pam provider of the type "Domain User" where the account will be synchronized.
Example 2
Create a standalone account.
Example 3
Create a certificate account.
Example 4
Create a new PAM account named 'DomAcc' with the same security as the PAM account whose ID is stored in $existingAccountID
Parameters
-AsLegacyResponse
In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.
-CredentialType
Account's credential type
-CustomProperties
Custom properties from the template.
-Description
Pam account's description.
-Group
Pam account's folder path.
-Name
Pam account's name.
-Password
Pam account's password.
-Permission
Security permissions to assign. Use ConnectionPermission objects, which can be created with the New-RDMConnectionPermission cmdlet. For compatibility with server versions prior to 2024.3.0.0, use the older PamUserPermissions type instead.
-ProviderID
Provider's ID where the account will be synced
-ResetPasswordOnCheckIn
Reset password on check in
-Username
Pam account's credentials username.
-VaultID
ID of the vault that will contains the new pam account.
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.
Notes
For more information, type "Get-Help New-DSPamAccount -detailed". For technical information, type "Get-Help New-DSPamAccount -full".
Last updated
Was this helpful?