netsh wlan export profile key=clear folder=c: #备份 (ls c:*.xml).FullName|%{netsh wlan add profile filename="$_" interface="WLAN" user=current} #还原配置