# Get all profiles and remove them one by one

Created: 2025-01-27 16:34:03 | Last updated: 2025-01-27 16:34:15 | Status: Public

# Get all profiles and remove them one by one
$profiles = (netsh wlan show profiles) | Select-String "All User Profile" | ForEach-Object { ($_ -split ":")[-1].Trim() }
foreach($profile in $profiles) {
    netsh wlan delete profile name="$profile"
}