mirror of
https://github.com/builtbybel/BloatyNosy.git
synced 2025-01-10 07:58:23 +01:00
4 lines
212 B
PowerShell
4 lines
212 B
PowerShell
|
$namespaceName = "root\cimv2\mdm\dmmap"
|
||
|
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
|
||
|
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
|
||
|
$result = $wmiObj.UpdateScanMethod()
|