LEARN with scripting TRAINING CREATE with SCRIPTING TOOLS SHARE in a COMMUNITY BUY Scripting Products

SAPIEN Solutions

SAPIEN homepage
SAPIEN Software
PrimalScript script editor+ide
PrimalScope script debugger
Free Tools script utilities
SAPIEN Press tech books
ScriptingAnswers.com learn+share
ScriptingOutpost.com online store
Blog.Sapien.com official blog
Contact Us

 

Posts Tagged ‘Get-History’

More Fun with History

Thursday, July 24th, 2008 by Jeffery Hicks
I blogged a few days ago about taking advantage of PowerShell's history. As I was looking at the history object I noticed the ExecutionStatus property. Most of the time it should be "completed". But what about commands that failed? Why not search my history buffer?   More »

Fun with History

Tuesday, July 22nd, 2008 by Jeffery Hicks
In the Pixar film Cars, Mater demonstrates to Lightning McQueen how to drive backwards. Lightning is astounded. Mater explains, "Don't need to know where I'm going as long as I know where I've been." Probably not the exact quote but the point is if you know what you've done or where you've been it makes it very easy to know where you're going or what to do next. In PowerShell you can take advantage of the shell's history objects to speed up what you want to do next.   More »


Entries (RSS) and Comments (RSS).