ZDravim
Nemate niekto script na import wifi profilov z xml na windows 10?
Mam asi 230 wifi a co som pozeral na googli nasiel som len ako to exportovat vsetko:
netsh wlan export profile key=clear folder=C:\wifi
ale importovat to uz musim po jednom a to je strasne zdlhave..
https://www.google.com/search?q=import+ ... =919&dpr=1
nejaky ten script na import nemate?
nasiel som len na win7 ale ten pod win10 nefunguje:
function Import-WLAN {
<#
.SYNOPSIS
Imports all-user WLAN profiles based on Xml-files in the specified directory
.DESCRIPTION
Imports all-user WLAN profiles based on Xml-files in the specified directory using netsh.exe
.PARAMETER XmlDirectory
Directory to import Xml configuration-files from
.EXAMPLE
Import-WLAN -XmlDirectory c:\wifi
#>
[CmdletBinding()]
param (
[parameter(Mandatory=$true)]
[string]$XmlDirectory
)
#Import all WLAN Xml-files from specified directory
Get-ChildItem $XmlDirectory | Where-Object {$_.extension -eq ".xml"} | ForEach-Object {netsh wlan add profile filename=($XmlDirectory+"\"+$_.name)}
}