Add MS Store Update.ps1

This commit is contained in:
Upgrayedd 2024-11-02 16:19:01 -05:00
parent 7b2d87acd9
commit a3c59f8266

4
MS Store Update.ps1 Normal file
View file

@ -0,0 +1,4 @@
$namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
$result = $wmiObj.UpdateScanMethod()