[Update 25 Apr 14 – Good feedback from Daniel Neumann in comments]
Here is a short guest post by one of our sponsor’s cloud admins at Service Provider Amsio, Ivo Hoefakker
VMM 2012 R2 wildcards no longer seem to be working in (some) PowerShell cmdlets after upgrading to Update Rollup 2. Today I’ve updated my environment with Update Rollup 2. After the upgrade some of my scripts were no longer working.
I came to the conclusion that some PowerShell cmdlets no longer accept the wildcard (*) character.
Before the update all of the below cmdlets work:
Get-SCVirtualMachine | ? name -eq ‘amsio-vm01’
Get-SCVirtualMachine | ? name -ge ‘amsio*’
Get-SCVirtualMachine | ? name -like ‘*vm*’
Get-SCVirtualMachine | ? owner -eq ‘firstname.lastname@example.org’
After installing Update Rollup 2 the following cmdlet no longer works:
I have confirmed this (issue) on the following PowerShell commands:
Whether or not this is really a “issue” is debatable. You could also say you should improve your scripting.