MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
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"