I want to run powershell script to stop some application which will use the domain account , I want to encrypt the domain user and password .
The application uses URL to login with domain username and password
I want to run powershell script to stop some application which will use the domain account , I want to encrypt the domain user and password .
The application uses URL to login with domain username and password
Checkout this credential tutorial. Example store password in encrypted format in file:
"P@ssword1" | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File "C:\Temp 2\Password.txt"