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

Get-WiFi Password is failing #52

Open
MarkMichaelis opened this issue Jun 18, 2019 · 0 comments
Open

Get-WiFi Password is failing #52

MarkMichaelis opened this issue Jun 18, 2019 · 0 comments
Assignees

Comments

@MarkMichaelis
Copy link
Member

Calling Get-WiFi Password fails:

Get-WifiPassword -ssid 'rocket only-guest'
Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'Authentication'  Key being added: 'Authentication'"
At C:\Dropbox\Programs\Utilities\profile.ps1:531 char:23
+       Foreach-Object{ $wlan.Add($matches.Name, $Matches.Value ) }
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentException

Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'Cipher'  Key being added: 'Cipher'"
At C:\Dropbox\Programs\Utilities\profile.ps1:531 char:23
+       Foreach-Object{ $wlan.Add($matches.Name, $Matches.Value ) }
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentException

The property 'Key  Content' cannot be found on this object. Verify that the property exists.
At C:\Dropbox\Programs\Utilities\profile.ps1:532 char:10
+   return ([PSCustomObject]$wlan).'Key  Content'
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict
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

2 participants