header image

Archive for September, 2013

The Winter Scripting Games are tentatively schedule to start 6 January 2014 & run for 4-6 weeks depending on the number of events. See http://powershell.org/wp/2013/09/29/winter-scripting-games-tentatively-scheduled/ for latest details

under: PowerShell original, Scripting Games

PowerShell too big to know

Posted by: | September 28, 2013 | No Comment |

A couple of sentences in the Scripting Guy’s post from yesterday http://blogs.technet.com/b/heyscriptingguy/archive/2013/09/27/the-powershell-summit-why-you-should-care.aspx stuck in my mind: “I am not certain I have ever met anyone who knows everything there is to know about Windows PowerShell. In fact, I am not certain I have ever met anyone who knows nearly everything there is to know about […]

under: Philosophy, PowerShell original

Microsoft’s Scripting Guy supplies a number of very compelling reasons for attending the PowerShell Summit 2014 in Seattle. http://blogs.technet.com/b/heyscriptingguy/archive/2013/09/27/the-powershell-summit-why-you-should-care.aspx   Registration details can be found here http://powershell.org/wp/community-events/summit/   In addition to the powershell.org you will be able to talk to MVPs, the representatives from the PowerShell team, The Scripting Guy and a whole bunch of […]

under: PowerShell original, PowerShell Summit

Rolling back time

Posted by: | September 26, 2013 | No Comment |

  There are many situations where you want to roll the date back – checking a file’s last access time, processing event logs, checking a password expiry in AD. Get-Date (or more accurately the underlying System.DateTime .NET class offers a number of options. Lets say you need a date that’s 3 months in the past.  […]

under: PowerShell Basics

Server Documentation

Posted by: | September 25, 2013 | No Comment |

No one likes documenting their servers but is a necessary job.  As the start of a series on taking those first automation steps – you’ve learned PowerShell and now you want to put it to use – I have an article on the Scripting Guy blog that shows you how to get started documenting your […]

under: PowerShell and WMI, PowerShell V3

Select and List

Posted by: | September 23, 2013 | No Comment |

There are many times when I need to do something like this: get-Whatever | select –first 1 | format-list –property * Normally its because I need to discover the properties on an object and see some representative data at the same time. If I  just wanted the properties I could use Get-Member. Getting tired of […]

under: PowerShell Basics

An updated MEAP has been released for Active Directory Management in a Month of Lunches.  This one adds chapters 18 & 19 Chapter 18, "Managing AD trusts" Chapter 19, "Troubleshooting your AD" The MEAP is available from www.manning.com/siddaway3 Enjoy

under: Active Directory, Books, PowerShell and Active Directory, Windows 2012 R2, Windows Server 2012

PowerShell Hero

Posted by: | September 21, 2013 | No Comment |

PowerShell.org is giving you the chance to nominate your PowerShell hero – someone how has helped you & others with their PowerShell problems. Details from http://powershell.org/wp/2013/09/20/nominate-your-powershell-hero/

under: PowerShell original, PowerShell.org

ErrorAction and WarningAction

Posted by: | September 20, 2013 | No Comment |

You’ve all probably done something like this: £> Get-Process -Name xyz Get-Process : Cannot find a process with the name "xyz". Verify the process name and call the cmdlet again. At line:1 char:1 + Get-Process -Name xyz + ~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : ObjectNotFound: (xyz:String) [Get-Process], ProcessCommandException     + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand   First though […]

under: PowerShell Basics

Using WMI class methods with the CIM cmdlets can cause a lot of confusion. This article, of mine, should clear up that confusion for you. http://blogs.technet.com/b/heyscriptingguy/archive/2013/09/20/hey-dude-where-are-my-methods.aspx

under: PowerShell and WMI, PowerShell V3

Older Posts »

Categories