...
Run the following command to create the encrypted file:
C:\WINDOWS\system32>powershell -command PS C:\WINDOWS\system32> ConvertTo-SecureString -String " < password> " -AsPlainText -Force | ConvertFrom-SecureString | Out-File " < full path to the file >"
|
Example:
C:\WINDOWS\system32>powershell -command PS C:\WINDOWS\system32> ConvertTo-SecureString -String " 12345 " -AsPlainText -Force | ConvertFrom-SecureString | Out-File c:\charon\msds20vmspwd.txt
|
Run the Powershell script in check mode:
...