Update-MDMDeviceRecoveryPasswordEncryptionKey
2/9/2009
The Update-MDMDeviceRecoveryPasswordEncryptionKey cmdlet deletes all device recovery passwords in the current MDM instance. All Windows Mobile managed devices with the Group Policy setting User Reset of Password enabled and using MDM Server selected will generate new recovery passwords and send them to MDM Device Management Server during the next device connection.
This cmdlet should be used only when the recovery passwords for all managed devices are compromised or lost on the server. These passwords are not replaced until the next time each device connects to MDM.
Syntax
Update-MDMDeviceRecoveryPasswordEncryptionKey [-confirm] [-whatif] [<CommonParameters>]
Parameters
The following describes the Update-MDMDeviceRecoveryPasswordEncryptionKey cmdlet parameters.
- WhatIf
Informs you of what changes would be made if the action were to be performed (the cmdlet is not executed).
- Confirm
Prompts you for confirmation before the cmdlet executes.
- CommonParameters
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the MDM Shell prompt, type get-help about_commonparameters.
Input Type
None
Output Type
None
Examples
This Update-MDMDeviceRecoveryPasswordEncryptionKey command example deletes all device recovery passwords in the current MDM instance. All managed devices with the password reset policy enabled will create new recovery passwords.
C:\PS>Update-MDMDeviceRecoveryPasswordEncryptionKey
Cmdlet Help
To view this information online, at the MDM Shell prompt, type:
get-help Update-MDMDeviceRecoveryPasswordEncryptionKey -detailed, or get-help Update-MDMDeviceRecoveryPasswordEncryptionKey -full
See Also
Reference
Get-MDMDeviceRecoveryPassword
Update-MDMDeviceRecoveryPassword