Script Check Network Connectivity With Power of PowerShell

Script Check Network Connectivity With Power of PowerShellSome days ago i got some scripts from one of my friend which was certain to use when pentesting stuff for Testing the internet connectivity of aa window’s computer (version ahead of windows xp). well it have many usages but you can use it as you want.

[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 Script Check Network Connectivity With Power of PowerShell Reviewed by AC10 Tech on Wednesday, May 31, 2017 Rating: 5

No comments:

Powered by Blogger.