Skip to main content

Get Wifi Profile

Summary

The script is an Automate implementation of the agnostic script Get-WifiProfile. It retrieves details about Wi-Fi profiles stored on designated end-user machines.

Sample Run

  • For the first execution of the script, the value of the user parameter Set_Environment should be set to 1. This will create the EDF, System property, and custom table solution:
    Sample Run Image 1

  • Regular execution:
    Sample Run Image 2

Dependencies

Variables

NameDescription
ProjectNameGet-WifiProfile
WorkingDirectoryC:\ProgramData_Automation\Script\Get-WifiProfile
PS1LogC:\ProgramData_Automation\Script\Get-WifiProfile-Log.txt
PS1ErrorLogC:\ProgramData_Automation\Script\Get-WifiProfile-Error.txt
TableNamepvl_wifi_profiles

User Parameters

NameExampleRequiredDescription
Set_Environment1True for the first runIt is mandatory to set this parameter to 1 for the very first execution of the script.

Global Variables

NameValueAccepted ValuesDescription
DebugFalseFalse, TrueWhen True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.
ScriptEngineEnableLoggerFalseFalse, TrueWhen True, enables final (success/failure) logging; when False (default), these logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.

Output

  • Script Log
  • Dataview