Category Archives: CommandLine

Custom Prompts 3 Ways

Recently, a number of PowerShell MVPs were having a discussion about the transcript feature in Windows PowerShell. One comment that arose was a need to see how long tasks have run or otherwise provide some sort of date time information. … Continue reading

Posted in CommandLine, Miscellaneous, PowerShell | Tagged , , | 3 Comments

PowerShell Is Not Omnipotent

Last week I was working on a problem in a PowerShell forum. The admin was having problems getting Add-Computer to work. After a bit of “try this/try that” something became clear, and it’s something that is easy to overlook. Especially … Continue reading

Posted in Best Practices, CommandLine, PowerShell v2.0, Scripting | Tagged | Comments Off

Get Your TCP Ports Here!

Once again, the PowerShell forum at ScriptingAnswers.com has undone me. I was answering a question about running Netstat in a PowerShell session on a remote computer which got me thinking about a PowerShell function to turn NETSTAT.EXE output into objects. … Continue reading

Posted in CommandLine, PowerShell v2.0, Windows 7, Windows Server | Tagged , , , , | 2 Comments

WBADMIN Demo

Earlier this year I wrote an article for REDMOND Magazine about the new backup features in Windows Server 2008 R2. I’m not going to re-hash the article here except to say it includes some sample scripts on using the WBADMIN … Continue reading

Posted in CommandLine, Miscellaneous, Scripting, Windows Server | Tagged , , , , , | 1 Comment

PowerShell vs Jesus

Ok. I decided it’s time I finally weigh in on this with more than 140 characters. I’m sure you’ve seen, in forums, Twitter and other social media comparisons between Windows PowerShell and some other shell of choice. Typically the “other” … Continue reading

Posted in CommandLine, PowerShell v2.0, Scripting | Tagged , , , | Comments Off