Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use pscredentials #2

Open
Copis opened this issue Sep 13, 2017 · 0 comments
Open

Unable to use pscredentials #2

Copis opened this issue Sep 13, 2017 · 0 comments

Comments

@Copis
Copy link

Copis commented Sep 13, 2017

Hi @bottkars

I was trying to use this module to create new powershell script for networker monitoring but when i tried to use pscredentials to connect to NW Server i found this issue.
There are no $Global:NWCredentials assignment when you use the -Credentials option in Connect-NWServer function

I only added this line into Connect-NWServer function at line 35:
else { $Global:NWCredentials = $Credentials }

Copis added a commit to Copis/NWPSRestToolKit that referenced this issue Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant