Generate-VBREntraIDTenantUserPassword
Short Description
Creates passwords.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Generate-VBREntraIDTenantUserPassword -Session <VBREntraIDTenantRestoreSession> -PasswordCount <Int32> [<CommonParameters>] |
Detailed Description
This cmdlet creates passwords that can further be used for the Entra ID restore session.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
PasswordCount |
Specifies how many passwords to generate. |
|
True |
Named |
False |
|
Session |
Specifies the restore session for which you want to create passwords.
Accepts the |
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
Generating Passwords for Entra ID Restore Session
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-VBREntraIDTenantRestoreSessionReturns restore sessions started to recover Microsoft Entra ID tenant backups. cmdlet. Specify theIdparameter value. Save the result to the$sessionvariable. - Run the
Generate-VBREntraIDTenantUserPasswordcmdlet. Specify the following settings:- Set the
$sessionvariable as theSessionparameter value. - Specify the
PasswordCountparameter value. - Save the result to the
$restorePointvariable.
- Set the
Related Commands
Get-VBREntraIDTenantRestoreSessionReturns restore sessions started to recover Microsoft Entra ID tenant backups.