W10-BOOT-USB/Panther/InstalCustome/WI-FI/CreateXML_Wi-Fi.ps1

3 lines
164 B
PowerShell

$WI_FI_NAME=(Get-NetConnectionProfile| select-Object -Property Name).Name
netsh wlan export profile name=$WI_FI_NAME key=clear folder=.\
Start-Sleep -Seconds 5