Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save darrenjrobinson/98bbe15ece559dd0d2e21c9ea4428249 to your computer and use it in GitHub Desktop.
Save darrenjrobinson/98bbe15ece559dd0d2e21c9ea4428249 to your computer and use it in GitHub Desktop.
# 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