Created
August 16, 2016 05:02
-
-
Save darrenjrobinson/98bbe15ece559dd0d2e21c9ea4428249 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Username to connect to MFA Web Service SDK Server with | |
$UserName = "domainname\username" | |
# Password for the account above | |
$Password = 'P@$$w0rd1!' | ConvertTo-SecureString -AsPlainText -Force | |
$Creds = New-Object System.Management.Automation.PSCredential -ArgumentList $UserName, $Password | |
# Create a WS Proxy to the SOAP Azure MFA WebService SDK Endpoint | |
$proxy = New-WebServiceProxy -Uri https://www.domainname.com.au/MultiFactorAuthWebServiceSdk/PfWsSdk.asmx?WSDL -Credential $Creds | |
# Get Namespace for Objects | |
$ns = $proxy.GetType().Namespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment