Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.64 KB

File metadata and controls

65 lines (46 loc) · 1.64 KB
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

ConvertFrom-UnicodePassword

SYNOPSIS

Decodes a password from the format used in unattend.xml files.

SYNTAX

ConvertFrom-UnicodePassword [-UnicodePassword] <String> [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

Example 1

PS C:\> ConvertFrom-UnicodePassword -UnicodePassword 'UABhAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA=='
<#
Output:
Passw0rd
#>

Decodes a Base64-encoded password from an unattend.xml file and returns the cleartext password.

PARAMETERS

-UnicodePassword

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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.String

NOTES

RELATED LINKS