diff --git a/Credentials-Example.ps1 b/Credentials-Example.ps1 new file mode 100644 index 0000000..02984a1 --- /dev/null +++ b/Credentials-Example.ps1 @@ -0,0 +1,12 @@ +# Credential File - Do not distribute unless otherwise told by Technolog Networks IT. +# For account: EXAMPLE SCRIPT +$Username = "technolog\user" +$Password = ConvertTo-SecureString "password" -AsPlainText -Force +$DomainCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $username, $password + +Write-Host "$Username credentials were imported." + +# Clear user/pass after use for security. +# Leave these blank! +$Username = "" +$Password = "" \ No newline at end of file