mirror of
https://github.com/builtbybel/BloatyNosy.git
synced 2024-11-22 07:53:14 +01:00
4 lines
209 B
PowerShell
4 lines
209 B
PowerShell
$namespaceName = "root\cimv2\mdm\dmmap"
|
|
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
|
|
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
|
|
$result = $wmiObj.UpdateScanMethod() |