Tuesday, 29 April 2014

Get-Scripting Podcast Episode 38 - (Happy New Year)

This is Episode 38 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:





Jonathan:


PowerShell News:








PowerShell Resources:








PowerShell Tip








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

Thursday, 19 December 2013

Get-Scripting Podcast Episode 37 - (Jingle Bells)


This is Episode 37 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:

Change in Role! - http://www.virtu-al.net/2013/10/20/goodbye-vmware-technical-marketing/
VMworld Barcelona - http://www.virtu-al.net/2013/10/22/vmworld-powercli-group-discussionpart-1getting-started/ http://www.virtu-al.net/2013/10/30/vmworld-powercli-group-discussionpart-2resources/ http://www.virtu-al.net/2013/11/05/vmworld-powercli-group-discussionpart-3launching-using/ http://www.virtu-al.net/2013/11/13/vmworld-powercli-group-discussionpart-4advanced-tools-scripting/




Jonathan:

PowerShell session at UKVMUG - Function templates http://www.jonathanmedd.net/2013/11/powercli-in-the-enterprise-breaking-the-magicians-code-function-templates.html
ISE Code Snippets http://www.jonathanmedd.net/2013/11/creating-powershell-ise-v3-and-later-code-snippets.html




PowerShell News:


HP Scripting Tools for Windows PowerShell http://www8.hp.com/us/en/products/server-software/product-detail.html?oid=5440657#!tab=features

http://thatcouldbeaproblem.com/?p=685

DSC Blog posts and PowerScripting Podcast

Steve M new Podcast (Ops All the things) http://stevenmurawski.com/powershell/2013/10/im-podcasting-again




PowerShell Resources:

PSReadline http://rkeithhill.wordpress.com/2013/10/18/psreadline-a-better-line-editing-experience-for-the-powershell-console/?utm_source=buffer&utm_campaign=Buffer&utm_content=buffer39553&utm_medium=twitter

WebCommander - VMware Fling http://labs.vmware.com/flings/web-commander

PowerCLI Extensions - http://blogs.vmware.com/vipowershell/2013/11/vsan-and-vsphere-flash-read-cache-cmdlets.html

PowerShell Summit NA Agenda released http://powershell.org/wp/community-events/summit/powershell-summit-north-america/summit-agenda/


PowerShell Gotcha


WMF 4.0 does not check for .NET 4.5
http://www.jonathanmedd.net/2013/10/windows-management-framework-powershell-4-0-is-now-available-ensure-you-already-have-net-4-5.html

How to Install PowerShell v4 http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx


PowerShell Tip


When Sort-Object does not Sort

http://davotronic5000.co.uk/blog/when-sort-object-does-not-sort/

PowerShell V4 Tip from Jeff Hicks

#requires –runasadministrator

http://mcpmag.com/articles/2013/12/10/favorite-powershell-4-features.aspx




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

Wednesday, 9 October 2013

Get-Scripting Podcast Episode 36 - (The VMworld Expedition)


This is Episode 36 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:

VMworld Sessions
Primalforms



Jonathan:

Using SSH to Access Linux Servers in PowerShell
Clone a VM from a Snapshot using PowerCLI
Automating the Pre-Requisites for vCAC 5.2




PowerShell News:


PowerCLI 5.5 released


Windows Server 2012 R2 with PowerShell v4 released


PowerShell Summit N.A. 2014 Public Registration Now Open (with Discounts)

http://powershell.org/wp/2013/09/15/powershell-summit-n-a-2014-public-registration-now-open-with-discounts/




PowerShell Resources:


Event-O-Matic - http://www.lucd.info/2013/09/02/event-o-matic/

Don Jones’ new PowerShell training videos - http://powershell.org/wp/2013/09/11/my-new-powershell-video-series-covering-v2v3v4-launches/

Learn PowerShell Toolmaking in a Month of Lunches - http://www.manning.com/jones4/




PowerShell Tip



#PSTip How to convert words to Title Case
http://www.powershellmagazine.com/2013/07/24/pstip-how-to-convert-words-to-title-case/




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

Monday, 22 July 2013

Get-Scripting Podcast Episode 35 - (Luc Dekens on becoming an MVP and his new book)


This is Episode 35 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:


PowerShell summit

VMworld Sessions accepted

vSphere Replication

vCheck on GitHub

Off topic - Pebble watch

Jonathan:


PowerShell Deep Dive book nearly ready

Downloading Ranges of Lego Set Instructions with PowerShell


Interview:


Luc Dekens - Blog

vSphere Performance Reporting with PowerCLI: Automating vSphere Performance Reports

PowerShell News:


What's New in Windows PowerShell 4.0

http://technet.microsoft.com/en-us/hh857339.aspx



Desired State Configuration. Part of PowerShell v4 in 2012 R2

http://channel9.msdn.com/Events/TechEd/NorthAmerica/2013/MDC-B302#fbid=vx1qa_GV2YC

http://redmondmag.com/blogs/it-decision-maker/2013/06/desired-state-configuration.aspx



Scripting Games Winners

http://powershell.org/wp/2013/06/11/overall-winners-of-the-scripting-games/




PowerShell Resources:



Let’s Make New-VIProperty Easier
http://blogs.vmware.com/vipowershell/2013/01/lets-make-new-viproperty-easier.html

PowerShell Training Day with Jeffrey Snover
http://www.microsoftvirtualacademy.com/liveevents/PowerShell-JumpStart?CR_CC=200211917




PowerShell Tip



Show-Command and Get-Help -ShowWindow




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

Saturday, 23 March 2013

Get-Scripting Podcast Episode 34


This is Episode 34 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:






Jonathan:





PowerShell News:




PowerShell has won one on InfoWorld’s Technology of the Year awards for 2013

http://www.infoworld.com/slideshow/80986/infoworlds-2013-technology-of-the-year-award-winners-210419#slide24


PowerCLI 5.1 R2 released



PowerShell Resources:



Automate your SDRS Anti-Affinity rules
http://www.lucd.info/2013/01/21/automate-your-sdrs-anti-affinity-rules/

Scheduling Update-Help for PowerShell v3
http://richardspowershellblog.wordpress.com/2013/01/15/updating-help-on-powershell-v3/



PowerShell Tip



Add a Parameter to Multiple Parameter Sets in PowerShell
http://www.jonathanmedd.net/2013/01/add-a-parameter-to-multiple-parameter-sets-in-powershell.html

Writing PowerShell Code on OS X using Sublime
 - Community Project to help fix PowerShell v3 Syntax https://bitbucket.org/Jaykul/sublimepowershell/

http://www.jonathanmedd.net/2013/03/writing-powershell-code-on-os-x-using-sublime.html



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

Friday, 21 December 2012

Get-Scripting Podcast Episode 33 - (Eric Williams - Cisco UCS PowerTool)




This is Episode 33 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:



Jonathan:

Finding Out Who You’re Not Following on vLaunchpad

http://www.jonathanmedd.net/2012/12/finding-out-who-youre-not-following-on-vlaunchpad.html


Using PowerShell to access the vExpert.me URL Shortener

http://www.jonathanmedd.net/2012/12/using-powershell-to-access-the-vexpert-me-url-shortener.html


Interview:

Eric Williams - Cisco UCS PowerTool



PowerShell News:



PowerShell Deep Dives - MEAP
http://www.manning.com/hicks/

Windows Management Framework 3.0 Compatibility Update
http://blogs.msdn.com/b/powershell/archive/2012/12/20/windows-management-framework-3-0-compatibility-update.aspx


Amazon Web Services continues Windows push with PowerShell addition

http://www.infoworld.com/d/cloud-computing/amazon-web-services-continues-windows-push-powershell-addition-208612


http://aws.amazon.com/powershell/




PowerShell Resources:



Work with E1000E NICs in PowerCLI

http://www.lucd.info/2012/11/16/work-with-e1000e-nics-in-powercli/



PowerShell Tip



SSH with Plink.exe

hostkey accept etc.
Echo Y | Plink.exe....



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


Saturday, 10 November 2012

Get-Scripting Podcast Episode 32



This is Episode 32 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:



Jonathan:

PowerShell Deep Dive Book



PowerShell News:


Windows 8 / Server 2012 released, i.e. PowerShell v3!

Available for downlevel OSs.

http://www.microsoft.com/en-us/download/details.aspx?id=34595



Scripting IDE showdown / slowdown?

PowerShell Plus is now free:

http://www.idera.com/Free-Tools/PowerShell-Plus/

PowerShell SE is no more?

http://powerwf.com/products/powerse.aspx

PowerGUI no longer in development?

PowerShell ISE the way ahead?




PowerShell Summit - Session Announced


http://poshoholic.com/2012/11/02/powershell-summit-community-sessions-list/


UKVMUG

http://www.vmug.com/p/cm/ld/fid=212




PowerShell Resources:



Get Regular Expression matches (DNS)


http://enterpriseadmins.org/blog/scripting/get-regular-expression-matches/


PowerScripting - the wives special

http://powerscripting.wordpress.com/2012/05/28/episode-187-teresa-scriptingwife-wilson-and-staci-halswife-rottenberg/



PowerShell Tip


Insert String Every N Characters


http://blog.expressionsoftware.com/2010/03/insert-string-every-n-characters.html

This PowerShell v2 script inserts a string every N characters. The interval is specified using the regex repetition operator, {min,max}.
$a = 'abcdefghijklmnopqrstuvwxyz'
([regex]::matches($a, '.{1,3}') | %{$_.value}) -join ' '
([regex]::matches($a, '.{1,8}') | %{$_.value}) -join '..'
([regex]::matches($a, '.{1}') | %{$_.value}) -join '-'

#output
abc def ghi jkl mno pqr stu vwx yz
abcdefgh..ijklmnop..qrstuvwx..yz
a-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z

Removal of $_ and also $PSItem in PS v3

In PowerShell, the variable "$_" has special importance. It works like a placeholder in scenarios like this one:
PS> Get-ChildItem $env:windir | Where-Object { $_.Length -gt 1MB }
In PowerShell v3, there is an alias for the cryptic "$_": $PSItem. So now code can become more descriptive:
PS> Get-ChildItem $env:windir | Where-Object { $PSItem.Length -gt 1MB }
Then again, in PowerShell v3, "$_" isn't necessary in many scenarios anymore at all. You could also write:
Get-ChildItem $env:windir | Where-Object Length -gt 1MB






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