Monthly Archives: April 2012

PowerShell news April 2012

As April comes to close so does the extension for grading scripts in the recent games. I’ve been so busy grading haven’t had time to blog about the games. I’ll start to catch up on the backlog over the next … Continue reading

Posted in Powershell | Leave a comment

UK PowerShell Group–April 2012 slides and recording

The slides, demo script and recording are available from https://skydrive.live.com/?cid=43cfa46a74cf3e96#cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%212957 Thank you again to everyone who attended the Live Meeting this evening

Posted in PowerShell User Group, PowerShell V3, Windows 8 Server | Leave a comment

Reminder–UK User group 24 April

Quick reminder that 24 April sees the first of 2 sessions on new PowerShell functionality in Windows 2012 – Windows Server 8 Details from http://msmvps.com/blogs/richardsiddaway/archive/2012/04/13/uk-powershell-group-24-april-2012.aspx

Posted in PowerShell User Group, PowerShell V3, Windows 8 Server | Leave a comment

Scripting Games 2012 comments: #10 Advanced event 5

http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/06/2012-scripting-games-advanced-event-5-list-errors.aspx This is the one I was asked to supply a commentary for http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/20/expert-commentary-2012-scripting-games-advanced-event-5.aspx   This one has raised an interesting interpretation issues.  The last design point asks: Your output should be organized such that the largest source of errors … Continue reading

Posted in Powershell, Scripting | Leave a comment

Scripting Games 2012 comments: #9 Beginners event 5

Beginners event 5 http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/06/2012-scripting-games-beginner-event-5-provide-a-source-and-errors.aspx Looking for problem applications. Need report from each server form application log listing source and number of errors. Requirements: should be capable of running against remote machine doesn’t need to run remotely for this scenario don’t … Continue reading

Posted in Powershell Basics, Scripting | Leave a comment

PowerShell and WMI

My latest book – PowerShell and WMI – has gone to the printers. Expect it soon at a book shop near you. http://www.manning.com/powershellandwmi for more details

Posted in Books, PowerShell and WMI, PowerShell V2, PowerShell V3 | Leave a comment

Manning PowerShell book offer

Manning are offering 50% off PowerShell in Practice using code dotd0415cc in the promotional code box at http://www.manning.com   The same code gets you 50% off PowerShell and WMI AND Advanced PowerShell   This is FOR TODAY ONLY

Posted in Books, Powershell | Leave a comment

Scripting Games 2012 comments: #8 Beginners Event 4

http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/05/2012-scripting-games-beginner-event-4-compare-two-folders.aspx Makes sure you run the script provided with the event to get the right folders. The script randomly removes 1 file from each folder – sneaky. After last nights head scratching this one is much simpler. It’s solvable with … Continue reading

Posted in Powershell Basics, Scripting | Leave a comment

Scripting Games 2012 comments: #7 update on beginners event 3

It was bugging me that I couldn’t get try-catch work on the folder where I didn’t have permissions. Finally thought of the reason – set the ErrorAction to Ignore. Heres the revised script [CmdletBinding()] param ( [string]$path = “C:\2012sg\event3”, [string]$file … Continue reading

Posted in Powershell Basics, Scripting | Leave a comment

Scripting games 2012 comments: #6 Beginners event 3

Onto event 3 http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/04/2012-scripting-games-beginner-event-3-create-a-file-in-a-folder.aspx where we have to create a file in a folder. Simple – well yes but not with the twists the Scripting Guy throws at you. The requirements: save file in c:\2012sg\event3 file contains process name and … Continue reading

Posted in Powershell Basics, Scripting | 1 Comment