PowerShell 2.0 Answers Life’s Big Questions!
Is there anybody out there? Are we alone in the universe? Are my computers online? PowerShell 2.0 can tell you! (At least that last one.) So the boss emails you a list of computers and wants you to...
View ArticlePowerShell 2.0 Protects You From Viruses!
Virus protection? PowerShell? Well… sort of. An old Internet joke from way back involves the so-called Amish Virus. ‘Infection’ by the Amish Virus can be diagnosed when you open an email and see this:...
View ArticlePowerShell 2.0 Fits Square Pegs in Round Holes
PowerShell 2.0 embraces and extends an old idea in command-line administration — the pipeline. Understanding what can be done with this powerful feature is a key to being effective in the new, bold...
View ArticlePutting Square Pegs in Square Holes with PowerShell 2.0
So you’ve got a Service object in your hands — maybe you ran something like Get-Service “Print Spooler”. So now what? Well, one logical thing to do might be to restart that service (perhaps to fix a...
View ArticleMore Square (and Not-so-Square) PowerShell 2.0 Holes
As you look at the help file for your favorite cmdlets, you’ll notice (if you use –full) that many of the parameters of those cmdlets provide support for pipeline input. Most of them, though, don’t...
View ArticleAnd At Long Last – Square Pegs in Round Holes
Let’s review what we’ve seen about PowerShell pipeline behavior before we get to the grand finale of this extended discussion. Many cmdlets accept pipeline input ‘ByValue’, meaning that they can...
View ArticlePowerShell Makes You an Expert Cab Driver!
I travel a good bit for work, and I noticed a strange trend lately. Has anybody other than me noticed that more cab drivers don’t seem to know where they’re going? Now, don’t get me wrong; I mean that...
View ArticleScripting Games
I loved my freshman year high school Spanish class. I’m kind of a grammar nerd, so that came somewhat naturally, and I’d watched The Three Amigos enough times to have a plausible (if corny) accent. I...
View ArticleRenaissance Sculpture – the PowerShell way!
PowerShell, like most Microsoft technologies, gives us more than one way to do the same thing. Sometimes that’s good news: it’s nice to use software that can compensate for differences in style from...
View ArticlePowershell Security Model: Script Security Officer
One interesting element of PowerShell’s security model is its reliance upon digital signatures. You can make decisions on which scripts to trust based on whether the author has digitally “signed” it....
View ArticleWindows Server 2012 Features: PowerShell 3.0 and Hyper-V
The latest, and perhaps the most significant, version of Windows Server was released in September 2012. What makes this release so significant is not just the new interface and default installation,...
View ArticlePowershell Security Model: Script Security Officer, Part 2
In the first post in this series, we explored the security need for an IT professional to identify who the author of a piece of code (like a PowerShell script) is. The challenge with that is producing...
View ArticlePutting the SharePoint Management Shell on ISE
I wanted to title this “Putting the SharePoint Management Shell, which runs on the classic PowerShell.exe, onto the Windows PowerShell Integrated Scripting Environment (PowerShell_ISE.exe) so that we...
View ArticleKeep Calm and PowerShell On
With the release of Windows 8.1 and Windows Server 2012 R2, Microsoft has also released the next generation of PowerShell: PowerShell 4.0. As with every new PowerShell release, they’ve added a few new...
View ArticlePutting Square Pegs in Square Holes with PowerShell 2.0
So you’ve got a Service object in your hands — maybe you ran something like Get-Service “Print Spooler”. So now what? Well, one logical thing to do might be to restart that service (perhaps to fix a...
View Article