Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created November 29, 2016 10:51
Show Gist options
  • Save nivleshc/fe7e6524fc657d0a09608b87500a33f1 to your computer and use it in GitHub Desktop.
Save nivleshc/fe7e6524fc657d0a09608b87500a33f1 to your computer and use it in GitHub Desktop.
Define Variables for ConfigureWAP.ps1
<#
ConfigureWAP.ps1 is passed the username for an account that has local administrator access on the ADFS Server
#>
param
(
$AdminUsername
)
#password for the local administrator account on the ADFS server is encrypted and stored in a local folder
#define the directory where the files are stored and the key used to encrypt the password, so that the password
#can be decrypted
$localpath = "C:\Program Files\WindowsPowerShell\Modules\Certificates\"
$Key = (3,4,2,3,56,34,254,222,1,1,2,23,42,54,33,233,1,34,2,7,6,5,35,43)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment