Tag Archives: Powershell

Using PowerShell to Query Web Site Information

In my last post, I showed you how to use the Test-Connection cmdlet to test your internet access.  In this post, I can show you how to use Net.WebRequest or the Net.WebClient to send a request to website and verify … Continue reading

Posted in powershell, scripts | Tagged , , | 38 Comments

Quick Hits: Test Internet Access

A while back I was having all sorts of internet connection issues with my ISP.  The connection would drop and I would have to play the “click refresh” game with my browser and wait until the magical moment when I … Continue reading

Posted in powershell, scripts | Tagged , , | 10 Comments

Quick Hits: Ping Sweep One Liner

So I was curious as to how many active ip addresses I had on my network and didn’t feel like manually typing “ping <ipaddress>” and wait for it to timeout and then “rinse and repeat”.  Along comes Test-Connection and the … Continue reading

Posted in powershell | Tagged , , | 3 Comments

PoshWSUS V1.1 is available

I just published my latest version of the PoshWSUS module to CodePlex which has some updated code on a few functions and some other bug fixes.  Also, there are 8 new commands that are available with this latest version of … Continue reading

Posted in Modules, powershell, WSUS | Tagged , , , | 8 Comments

Use PowerShell to remove local profiles

A couple of days ago at work, I was asked a question concerning whether a specific one-liner of code would work remotely. That one-liner was (Get-WMIObject Win32_UserProfile | ? {$_.localpath –like “*username).Delete()} I told him that, yes, in fact it … Continue reading

Posted in powershell, scripts | Tagged , , | 26 Comments