Been doing more in PowerShell every week and while I’m far from being an expert I definitely enjoy what it offers. I’m always looking for tips and tricks to get the most out of PoSh and one came in my inbox today.
A short article by Jeffery Hicks pointed out something simple that makes perfect sense. [...]
Archive for the 'PowerShell' Category
Simple tip for PowerShell
February 25, 2009Send Email using PowerShell from CSV data file
December 21, 2008Just finished phase 1 of a project which required sending out an automated survey email to a dynamic list of people. The email message is the same in all of these except for an ID number embedded in a link within the message. Currently the list of emails along with the ID is automatically dumped [...]
PowerShell Notes
December 12, 2008Been doing some projects in PowerShell lately and have found tons of great info available online to learn from. I was reading some old blogs and came across this link that talks about how to include help info in your PS functions:
This sample is from Media and MicroCode:
#.Synopsis
# Turns a Hashtable into a PowerShell object
#.Description
# [...]
Running PowerShell from your Mobile Phone
May 22, 2008While I realistically don’t see myself doing this anytime soon I thought this was a really cool idea…Dmitry has a detailed write up on how to Execute PowerShell Scripts from your smartphone to have the ability to send a PowerShell script from your mobile phone and have it run on your servers back at the [...]
Remote system stats
April 20, 2008At our last Palm Beach IT meeting we talked about PowerShell and some of the great things it allows you to accomplish. Here’s a site that actually shows what we talked about, monitoring systems remotely using PowerShell & MRTG. The WSMAN Instrumentation Examples page uses MRTG to graph the PowerShell stats but we had also [...]
Pause in PowerShell script
April 9, 2008While putting together a demo for PowerShell the other day, I wanted to setup a script that would run each section of my demo without having to run a new script for each one (Lazy Admin in training!) Here’s a simple little function that replicates the old DOS based Pause command from the PowerShell Team [...]