Update all Microsoft Store apps
$namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
$result = $wmiObj.UpdateScanMethod()
Upgrade all winget apps
winget upgrade --all
Update all git repositories
Sources:
Related: AutoHotkey - Interact with applications and streamline repetitive tasks