select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_LOGICAL_DISK on SMS_G_System_LOGICAL_DISK.ResourceID = SMS_R_System.ResourceId where SMS_R_System.Client = 1 and SMS_R_System.Obsolete = 0 and SMS_R_System.Active = 1 and SMS_G_System_LOGICAL_DISK.DriveType = 3 and SMS_G_System_LOGICAL_DISK.DeviceID = "C:" and SMS_G_System_LOGICAL_DISK.FreeSpace >= 1024
Subscribe to:
Post Comments (Atom)
Patching compliance based on all current month SUG - Dynamic
-- Step 1: Store Latest Software Update Groups (SUGs) in a temp table DROP TABLE IF EXISTS #LatestSUG; CREATE TABLE #LatestSUG (Title NVARCH...
-
-- edge will get superseded very frequently that may not come in this report WITH LatestPatches AS ( SELECT DISTINCT v_R_System....
-
Below is the Powershell PS1 script to get the all deployments in SCCM 2012 Function Get-SCCMFolderDeployments { <# .Synopsis ...
No comments:
Post a Comment