Use PowerShell
Real Admins Script
Real Admins Script
This user hasn't shared any biographical information
Homepage: http://www.usepowershell.com
Jabber/GTalk: steven.murawski@gmail.com
November 13, 2009 - 8:11 am
Posted in .NET Framework, PowerShell, PowerShell Version 2, Scripts, Sync Framework | 11 comments
I’ve been exploring the Sync Framework for use in a couple of projects I have going and PowerShell is my preferred exploratory environment. It was a bit of fun, since I got to work with eventing for the first time in V2. First, I downloaded the Sync Framework Software Development Kit. That provided me with [...]
November 12, 2009 - 3:24 pm
Posted in Crystal Reports, PowerShell, PowerShell Version 2, Scripts | 3 comments
I’m updating Crystal Reports and trying to determine which reports might have been affected by some schema changes or functional changes in how the data was being stored. The problem I’ve had is that when there are a large number of reports, it is very time consuming to open each one, look at it, and [...]
November 12, 2009 - 7:00 am
Posted in General | 2 comments
A lot has happened since I last had the opportunity to post. Quick recap: PowerShell v2 is now out and available for XP, Server 2003, Vista, Server 2008, and installed and on by default for Windows 7 and Server 2008 R2 SharePoint 2010 has an insane number (492) There is an open source cmdlet and [...]
July 21, 2009 - 10:53 am
Posted in Azure, Development, PowerShell | No comments
The July CTP release of the Windows Azure SDK contains a new sample project called PowerShellRole which demonstrates that PowerShell is available in the cloud! Previous versions of the CTP have come with a sample Provider which you could use to access Azure storage (blobs, queues, and tables), but this actually provides demonstration of creating [...]
July 21, 2009 - 6:00 am
Posted in .NET Framework, Base Class Libraries, Deep Dive, Error Handling, PowerShell Version 1, PowerShell Version 2 | 3 comments
I started looking a little deeper at error handling in PowerShell after this StackOverflow question. PowerShell has two kinds of errors – terminating errors and non-terminating errors. Terminating errors are the errors that can stop command execution cold. Non-terminating errors provided an additional challenge, as you need to be notified of failed operations and continue [...]
July 7, 2009 - 6:00 am
Posted in .NET Framework, PowerShell | No comments
Garbage collection is a process that the .NET Framework (upon which the PowerShell runtime works) uses to manage memory. The garbage collection (for applications – services are handled a bit differently) process basically covers X steps: Identify objects that won’t be used Delete them from memory Compact the space to make room for new objects [...]
July 6, 2009 - 3:31 pm
Posted in Development, General, PowerShell, Systems Administration | 2 comments
I just finished listening to the latest Herding Code podcast (#52) where the hosts (K. Scott Allen, Kevin Dente, Scott Koon, and Jon Galloway) talked with Alan Stevens ( C# MVP and ASP Insider) and G. Andrew Duthie (author and Microsoft Developer Evangelist) about a debate that began on Twitter regarding “Real Software Development vs [...]
June 7, 2009 - 9:22 am
Posted in Development, General, PowerShell | No comments
Larry Clarkin asked me back on the Thirsty Developer to continue talking about development and PowerShell. We talked about creating cmdlets, hosting PowerShell, and a bit about Version 2. Check it out here.
June 5, 2009 - 1:31 pm
Posted in General, PowerShell, SQL, Systems Administration | No comments
I was tagged by SQL Server Expert Brent Ozar in his response to a great, thought provoking blog post called Give Me a Coconut and Six Months by Tim Ford (SQLAgentMan on Twitter). The short summary of the post is if you had six months free of distraction, what would you turn your attention to. [...]
June 2, 2009 - 6:30 am
Posted in General, PowerShell, Tip | No comments
The PowerShell paradigm is the task based cmdlet. With cmdlets that surface a single function that handle a multitude of inputs, a PowerShell session or script can read back like a sentence. Get-Process –Name iexplore | Where-Object {$_.WorkingSet –gt 50000000 } | Stop-Process In the above (often overused, but illustrates the point well) example, Get-Process, [...]