Update Password in Unattend.xml #PowerShell
Category : Uncategorized
Author: Frank Peter (97 Articles)
Today I share a small PowerShell function that helps to update/change the password in an Unattend.xml file. This might be useful in case you have to meet a strict password changing policy in your company.
The function suppports both, plain-text and, more particularly, base64 encoded passwords. The function reads the given unattend.xml file and alters the value element of the section below:
Please note that the file will overwrite the original file w/o asking for confirmation!
By the way, my Base64 PowerShell Module helps to convert from / to base64 encoded strings.