RMM/MS Store Update.ps1

4 lines
209 B
PowerShell
Raw Permalink Normal View History

2024-11-02 16:19:01 -05:00
$namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
$result = $wmiObj.UpdateScanMethod()