Teaching PowerShell to Click

Invoke-WebRequest can fill in just about any Web form

So you’ve got some data you want to scrape off a Web page automatically, but you’ve got to fill in some form and click “Go” to get to it? No worries … PowerShell can automate that.

read more

Working with IPv4 Addresses in PowerShell

System administrators work with IP version 4 (IPv4) addresses on a regular basis. If you’ve ever had to work with IPv4 addresses in scripts, you’re already aware of the complications: IPv4 addresses are 32-bit numbers, not strings. In order to calculate a network ID, for example, you need to use the bitwise AND operator with the IPv4 address and a subnet mask.

read more