Latest: Digital For Tech News Click Here


Thursday 27 March 2014

Check Network Connectivity With Power of PowerShell [Script]

0 comments
place Google AdSense code here

Some 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 a 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 have 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.


“Well this is what is Hacking, Learning learning and Learning.” – HTD

0 comments: Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

Post a Comment

 
Copyright © 2013 MyBloggerBlog Template All Right Reserved
Designed by MyBloggerBlog | Powered by Blogger