Monday, December 18, 2017

WMIC.EXE


WMIC.EXE is a tool for accessing WMI

http://www.robvanderwoude.com/wmic.php


Examples

Return all the data about AppvClientPackage
wmic /namespace:\\ROOT\Appv Path AppvClientPackage

Return the connectiongroup names and show inuse
wmic /namespace:\\ROOT\Appv Path AppvClientConnectionGroup get Name,inuse

Use a method to return a value
wmic /namespace:\\ROOT\ccm class SMS_Client call GetAssignedSeite

Use a method to set a value
wmic /namespace:\\ROOT\ccm class SMS_Client call SetAssignedSite sSiteCode="CODE"