Skip to main content

Get-WifiProfile

Description​

Retrieves and returns Wi-Fi profiles on the system.

Usage​

  1. Install and import the Strapper module.
  2. Install and import the wifiprofilemanagement module.
  3. Retrieve Wi-Fi profiles and process each profile to extract relevant details.
  4. Handle errors during the Wi-Fi profile retrieval process and log any failures.
  5. 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​

ParameterAliasRequiredDefaultTypeDescription
ClearKeyFalseSwitchTo retrieve Wi-Fi profiles with passwords in plain text.

Output​

  • .\Get-WifiProfiles-log.txt
  • .\Get-WifiProfiles-error.txt

Changelog​

2025-04-10​

  • Initial version of the document