Wednesday, 30 November 2011

Get-Scripting Podcast Episode 27 - (The One Where They Catch Up and Share Loads of PowerShell Tips and Tricks)

This is Episode 27 of the Get-Scripting podcast. Tune in to listen to us talk and interview people about PowerShell.

Download it here, subscribe in iTunes or via a different feed reader.

Intro:

Alan:

PowerCLI @ VMworld

PowerCLIMan - The Return

Alan on PowerScripting

Jonathan:

HP WMI Provider


Simple Talk - How to add a GUI front end to your PowerShell scripts


What's New In PowerCLI 5.0 at the UK PowerShell User Group

PowerShell V3 Blog Series


PowerShell News:


PowerShell V3 Preview Out as part of Win8 Developer Preview


2012 Deep Dive Conference Announced for San Diego


PowerShell Resources:

Distributed Switch Cmdlets available as a fling

PowerShell scripts to leverage UBERalign for virtual disk alignment

Get-FriendlyUnits from @lucd22

Jeffrey Snover has a blog

Cmdlet of the day podcast


Powershell Tips:

Copy-Item With Alternate Credentials

Netstat for ESXi

Splitting a string with the split operator containing a ".", e.g. test.test.com

$EscapeTest = [Regex]::Escape("test.test.com")
$EscapeTest.split("\.")

Also [URI]"http://test.com/alan"


How to create a PSCredential object


PowerShell Gotcha

'Set-Service -Status Stopped' fails with "Cannot stop service 'servicename' because it is dependent on other services‏

Catching WMI Query Errors with Try / Catch

- Workaround: You can make non-terminating errors get thrown by using: - -ErrorAction "Stop"


Feedback

Send us feedback at

get [dash] scripting [at] hotmail [dot] co [dot] uk

or leave a comment here on the blog


Follow us on Twitter and join our Facebook Group

http://twitter.com/getscripting
http://twitter.com/jonathanmedd
http://twitter.com/alanrenouf

Get-Scripting Facebook Group

Extensive list of Powershell Twitterers