Monthly Archives: July 2013

Pure PowerShell–the great debate

One of the outcomes of the Scripting Games is a series of debates on powershell.org regarding things that were noticed during the games. The latest is on using “pure” powershell as opposed to adding .NET, COM, utilities and whatever comes … Continue reading

Posted in Powershell | Leave a comment

PowerShell Jump Start recordings

The records of the PowerShell Jump Start from two weeks ago are now available. 9 sessions on PowerShell 3.0 delivered by Jason Helmick and Jeffrey Snover. http://www.microsoftvirtualacademy.com/training-courses/getting-started-with-powershell-3-0-jump-start It doesn’t get any better than this.

Posted in PowerShell V3 | Leave a comment

drive letter functions

Have you ever looked at the functions available to you in PowerShell? Get-ChildItem function: shows the list of functions currently available in your PowerShell session. function: is a PowerShell drive.  Other drives are available: £ Get-PSDrive Name           Used (GB)     Free … Continue reading

Posted in Powershell | Leave a comment

Is PowerShell too big?

I was thinking the other day about the differences between PowerShell v1 and the new v4 we’ll be getting soon. There is so much in PowerShell that its very difficult to be an expert in aspects. Think about these topics … Continue reading

Posted in Powershell | Leave a comment

off with his head

CSV files are great for passing information around and are very easy to use in your PowerShell scripts. Sometimes, your CSV may have a problem – for instance it doesn’t have a header row. At that point the data becomes … Continue reading

Posted in Powershell | Leave a comment

PowerShell remoting book

I mentioned several times during the Q&A for the PowerShell jump start that a free PowerShell remoting book was available from powershell.org The book can be found here – http://powershell.org/wp/books/ Scroll down the list to see lots of free books

Posted in Books, Powershell | Leave a comment

Fun with prompts

At the PowerShell Jumpstart event there were a lot questions asking how Jeffrey Snover managed to get a dollar sign – $ – as his prompt. A lot of them centred on asking if this was a PowerShell v4 thing. … Continue reading

Posted in Powershell Basics | Leave a comment

PowerShell Deep Dives is published

PowerShell Deep Dives is a collection of chapters from PowerShell authorities world wide. The book is now published http://manning.com/hicks/ The royalties from the book all go to Save the Children If you’ve bought a copy thank you for your support … Continue reading

Posted in Books, Powershell | Leave a comment

Internet Connection

Can you find the network adapter on your machine that’s connected to the Internet?  On a Windows 8/2012 machine its fairly simple: PS> Get-NetConnectionProfile -IPv4Connectivity Internet Name             : NetworkNameInterfaceAlias   : AdapterNameInterfaceIndex   : 12NetworkCategory  : PrivateIPv4Connectivity : InternetIPv6Connectivity : LocalNetwork What … Continue reading

Posted in Networking, PowerShell V3, Windows 8, Windows Server 2012 | 1 Comment

CSV fields with spaces in the field name

CSV files are one way we can get data into our scripts – but sometimes when we get given a CSV file it has spaces in the field name e.g. “Area Number”1232315 Dealing with this can be a bit awkward … Continue reading

Posted in Powershell Basics | Leave a comment