mirror of
https://github.com/builtbybel/BloatyNosy.git
synced 2025-06-20 17:47:43 +02:00
Add files via upload
This commit is contained in:
parent
4229204181
commit
cfa1975d91
12
mods/Update Store apps.ini
Normal file
12
mods/Update Store apps.ini
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
4
mods/update_store-apps.ps1
Normal file
4
mods/update_store-apps.ps1
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
$namespaceName = "root\cimv2\mdm\dmmap"
|
||||||
|
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
|
||||||
|
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
|
||||||
|
$result = $wmiObj.UpdateScanMethod()
|
Loading…
x
Reference in New Issue
Block a user