| external help file | DSInternals.PowerShell.dll-Help.xml |
|---|---|
| Module Name | DSInternals |
| online version | https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/ConvertFrom-UnicodePassword.md |
| schema | 2.0.0 |
Decodes a password from the format used in unattend.xml files.
ConvertFrom-UnicodePassword [-UnicodePassword] <String> [<CommonParameters>]
Decodes a Base64-encoded Unicode password from the format used in Windows unattend.xml files. This is useful for recovering or auditing passwords that have been stored in unattend.xml configuration files used during automated Windows deployments.
PS C:\> ConvertFrom-UnicodePassword -UnicodePassword 'UABhAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA=='
<#
Output:
Passw0rd
#>Decodes a Base64-encoded password from an unattend.xml file and returns the cleartext password.
Specifies the encoded password that should be decoded.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.