PowerShell – Recycle All IIS App Pools
With a little help from Shay Levy’s post on Stack Overflow and the MSDN documentation, I added this handy function…
With a little help from Shay Levy’s post on Stack Overflow and the MSDN documentation, I added this handy function…
Anybody who uses Twitter has heard of auto-follow services for Twitter. Below is a PowerShell script I used to auto…
Many times I need to merge two separate datasets that have a common key column – for example: dataset 1:…
I put the following function in my PowerShell profile so that I can just bring up my PowerShell console and…
Here’s a TruncateAtWhitespace function that takes an incoming parameter value and an incoming max length, and returns a substring broken…
Here are a few one-liners that use NetCmdlets. Some of these I’ve blogged about before, some are new. Let me know…
Today I saw this on Twitter from Julie Blender (@#juneb_get_help): Need to reference the “ProgramFiles(x86)” environment variable in #PowerShell? Use ${env:ProgramFiles(x86)}. I…
A while back I posted about how to mark a script parameter as required in PowerShell. Shortly afterwards, there was some…
You cannot use get-credential without some type of prompt (although you can do it without the pop-up dialog), however you can…