BloatyNosy/mods/update_store-apps.ps1

4 lines
212 B
PowerShell
Raw Normal View History

2023-02-17 16:29:55 +01:00
$namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
$result = $wmiObj.UpdateScanMethod()