Were you ever ask yourself what is the GUI of Windows doing behind the clicks? I did!
Since many IT pros judge those “Wizards” as not useful I am sharing this with you.
Here I’m sharing with you the Windows Network Diagnostics wizard launched via Powershell
Navigate to C:\Windows\diagnostics\system\Networking and take a deep look into the folder contents, you will find many *.ps1 files. Open them and check them out with Powershell editor, just to understand what the GUI is doing on behind while you are clicking.
The way to invoke the wizard in PowerShell is:
“Get-TroubleshootingPack C:\Windows\diagnostics\system\Networking | Invoke-TroubleshootingPack”