
# Play a gamut with 10 tones.

for ($i = 1; $i -lt 11; $i ++)
{
[System.Console]::Beep($i*100, 50)
}

# Get a list of all network adapters whose name do not contain the number 802.

#([WmiSearcher] "Select * from Win32_Networkadapter where not adaptertype like '%802%'").get()| select adaptertype,description

# Ping the Computer www.powershell24.com


[WMI] ("Win32_PingStatus.Address='www.powershell24.com'")
