IntelliTect / IntelliTect/PSToolbox
Get-WiFi Password is failing
- Dominant language
- PowerShell
- Stars
- 10
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
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
```
Contributor guide
Assessment
This issue has not been assessed yet.