Add files via upload

This commit is contained in:
Belim 2023-02-17 16:29:55 +01:00 committed by GitHub
parent 4229204181
commit cfa1975d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Info]
DisplayName=Update Microsoft Store apps
Publisher=Builtbybel
AboutScript=This mod will run an update check for Microsoft Store apps.
ScriptLanguage=PowerShell
ConditionScript=update_store-apps.ps1
CreateNoWindow=true

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()