Generate-VBREntraIDTenantUserPassword
Short Description
Creates passwords.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Generate-VBREntraIDTenantUserPassword -Session <VBREntraIDTenantRestoreSession> -PasswordCount <Int32> [<CommonParameters>] |
Detailed Description
This cmdlet creates passwords.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Session | Specifies the restore session for which you want to create passwords. | Accepts the VBREntraIDTenantRestoreSession object. To create this object, run the Start-VBREntraIDTenantRestore cmdlet. | True | Named | False |
PasswordCount | Specifies how many passwords to generate. | Int32 | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the String[] object that contains the generated passwords.
Examples
This example shows how to generate 3 passwords.
$session = Get-VBREntraIDTenantRestoreSession -Id "901e32ac-4c9e-4f7a-9b36-a4fd0f7248fe" $passwords = Generate-VBREntraIDTenantUserPassword -Session $session -PasswordCount 3 |
Perform the following steps:
- Run the Get-VBREntraIDTenantRestoreSession cmdlet. Specify the Id parameter value. Save the result to the $session variable.
- Run the Generate-VBREntraIDTenantUserPassword cmdlet. Specify the following settings:
- Set the $session variable as the Session parameter value.
- Specify the PasswordCount parameter value.
- Save the result to the $restorePoint variable.
Related Commands