select SMS_G_System_SYSTEM.Name, SMS_R_System.OperatingSystemNameandVersion, SMS_R_System.IPSubnets, SMS_R_System.IPAddresses, SMS_G_System_SERVICE.Name, SMS_G_System_SERVICE.StartMode, SMS_G_System_SERVICE.StartName, SMS_G_System_SERVICE.Started, SMS_G_System_SERVICE.State, SMS_R_System.ResourceId, SMS_R_System.ResourceType from SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SERVICE.Name = "W3SVC" and SMS_G_System_SYSTEM.SystemRole = "Workstation" order by SMS_R_System.IPSubnets