Skip to content

Commit

Permalink
Assign pscredendialts correctly
Browse files Browse the repository at this point in the history
Proposed solution for bottkars#2
  • Loading branch information
Copis authored Sep 13, 2017
1 parent ed3ecea commit bcb9232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NWPSRestToolKit.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
$SecurePassword = Read-Host -Prompt "Enter Networker Password for user $user" -AsSecureString
$Global:NWCredentials = New-Object System.Management.Automation.PSCredential ($user,$Securepassword)
}
else { $Global:NWCredentials = $Credentials }
$Global:NWbaseurl = "https://$($NWIP):$($NWPort)/nwrestapi/v1"
}
End
Expand Down

0 comments on commit bcb9232

Please sign in to comment.