selectv_R_System.Name0, client_version0,v_GS_LOGICAL_DISK.Name0 as Drive,v_GS_LOGICAL_DISK.Size0 as Size,v_GS_LOGICAL_DISk.FreeSpace0 as FreeSpace, size0 as Usedfromv_R_System inner join v_GS_LOGICAL_DISK on v_R_System.ResourceID = v_GS_LOGICAL_DISK.ResourceID inner join v_FullCollectionMembership on v_FullCollectionMembership.ResourceID=v_R_System.ResourceIDwherev_GS_LOGICAL_DISK.DriveType0 = 3 and v_FullCollectionMembership.CollectionID = @CollectionIDorderby FreeSpace
Create a prompt Query with a variable “CollectionID”
select CollectionID,Name from v_Collection
1 comments:
check this out https://gallery.technet.microsoft.com/Configuration-Manager-Most-071cfd38
Post a Comment