Package-Script-Writer
Package-Script-Writer copied to clipboard
Use single quotes for the password variable in the output script in case there is a $
If you use double quotes and the password contains a $ symbol, powershell thinks it is a variable.
But if it uses single quotes, it will take it as an explicit value.