Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /=======================================================================
- # /=
- # /= Create_Password_File.ps1
- # /=
- # /= AUTHOR: Jake Bentz
- # /= DATE: 10/11/2016
- # /=
- # /= REQUIREMENTS: None
- # /=
- # /= DESCRIPTION: This script creates an encrypted password file
- # /=
- # /= REVISION HISTORY
- # /= VER DATE AUTHOR/EDITOR COMMENT
- # /= 1.0 10/11/2016 Jake Bentz Created script
- # /=
- # /=======================================================================#
- #Set variable for password file
- $passwordFile = .\OSPwd.txt
- # First time create password file
- Read-Host "Enter password for the local administrator account on the templates:" -AsSecureString | convertfrom-securestring | out-file $passwordFile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement