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 few weeks. This years games have been huge with more than 150% growth in the […]
Archive for April, 2012
UK PowerShell Group–April 2012 slides and recording
Posted by: richardsiddaway | April 24, 2012 | 2 Comments |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
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
Scripting Games 2012 comments: #10 Advanced event 5
Posted by: richardsiddaway | April 21, 2012 | No Comment |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 appears at the top of the output. The figure shows the data sorted by Event […]
Scripting Games 2012 comments: #9 Beginners event 5
Posted by: richardsiddaway | April 17, 2012 | No Comment |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 need to check for admin rights assume have permissions to query application log use standard […]
My latest book – PowerShell and WMI – has gone to the printers. Expect it soon at a book shop near you. www.manning.com/powershellandwmi for more details
Manning are offering 50% off PowerShell in Practice using code dotd0415cc in the promotional code box at www.manning.com The same code gets you 50% off PowerShell and WMI AND Advanced PowerShell This is FOR TODAY ONLY
Scripting Games 2012 comments: #8 Beginners Event 4
Posted by: richardsiddaway | April 14, 2012 | No Comment |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 one line of PowerShell. For this one we have a data folder and a back […]
Scripting Games 2012 comments: #7 update on beginners event 3
Posted by: richardsiddaway | April 13, 2012 | No Comment |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 = "Process3.txt" ) Write-Verbose "Test path is valid" if (-not (Test-Path -Path $path -IsValid)){ Throw […]
Scripting games 2012 comments: #6 Beginners event 3
Posted by: richardsiddaway | April 13, 2012 | No Comment |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 id running on local machine file must be called Process3.txt if folder doesn’t exist must […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS