Skip to content
This repository

Get-AzureDisk can't be filtered with 'where' #805

Closed
ytada0829 opened this Issue December 27, 2012 · 3 comments

6 participants

ytada0829 Michael Washam Priya Modali KundanaP Kay Singh Mark Cowlishaw
ytada0829

When I use DEC/2012 version of Cmdlets, following command returns all AzureDisks in same subscription.
$Disk = Get-AzureDisk | Where {($.AttachedTo.RoleName -eq "servername") -and ($.OS -eq "Windows")}
Using AUG/2012 version of Cmdlets, it works well. Returns only one disk which is system disk for the "servername".

Mark Cowlishaw
Collaborator

@mwasham please triage

KundanaP

We'll need to add scripts for regression tests.

KundanaP KundanaP closed this January 23, 2013
KundanaP KundanaP reopened this January 23, 2013
Kay Singh

Fixed, works now.

Kay Singh singhkay closed this March 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.