Get-WifiProfile
Description
Retrieves and returns Wi-Fi profiles on the system.
Usage
- Install and import the
Strapper
module. - Install and import the
wifiprofilemanagement
module. - Retrieve Wi-Fi profiles and process each profile to extract relevant details.
- Handle errors during the Wi-Fi profile retrieval process and log any failures.
- Return the output object.
To retrieve Wi-Fi profiles without passwords:
.\Get-WiFiProfile.ps1
To retrieve Wi-Fi profiles with passwords in plain text:
.\Get-WiFiProfile.ps1 -ClearKey
Parameters
Parameter | Alias | Required | Default | Type | Description |
---|---|---|---|---|---|
ClearKey | False | Switch | To retrieve Wi-Fi profiles with passwords in plain text. |
Output
- .\Get-WifiProfiles-log.txt
- .\Get-WifiProfiles-error.txt