PowerShell – Quick “Todo” Gmail Emailer
I put the following function in my PowerShell profile so that I can just bring up my PowerShell console and…
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’s a TruncateAtWhitespace function that takes an incoming parameter value and an incoming max length, and returns a substring broken…
I needed to dynamically configure log4net – outside of the web.config file. Here is my solution: 1. All that configuration…
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…