
[Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]'{DCB00C01-570F-4A9B-8D69-199FDBA5723B}')).IsConnectedToInternet
There it so, use it if you want because its made for you only.
If TRUE, the local machine is connected to the internet; if FALSE, it is not.
I Didn't find it much useful to me as it doesn't work on windows Xp but still its good for the storage of scripts. The Script works on windows computer which hve vista, windows 7 or windows server 2008.
Personally, i am not so big fan of power shell but still its a good utility by windows, but as you see its too much complicated that you need to learn things.
Script Check Network Connectivity With Power of PowerShell
Reviewed by AC10 Tech
on
Wednesday, May 31, 2017
Rating:

No comments: