« [Admin]Microsoft Edge | トップページ | [Admin]com.microsoft.autoupdate2 »

[Admin]Microsoft Edge Update

/Library/LaunchAgents/com.microsoft.OneDriveStandaloneUpdater.plist
/Library/LaunchDaemons/com.microsoft.autoupdate.helper.plist

/Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper


"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft Update Assistant.app/Contents/MacOS/Microsoft Update Assistant" --launchByAgent

"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"



 usage: msupdate <command> [<args> ...] <modifier> 


 Commands: 

-h | --help              Show usage information 

-c | --config            Display current AutoUpdate configuration 

-l | --list              List available updates for installed Microsoft applications 

-i | --install           Download and install available updates 


 Modifiers: 

-a | --apps <app>        Install specific application updates 

-v | --version <app>     Only update to a specific version 

-w | --wait <secs>       Number of seconds to wait for action to complete before returning the current state of the install command 

-f | --format            Format output results in the specified format 

p | plist            Property list format 

-t | --terminate <secs>  Number of seconds to wait before closing opened applications in order for updates to complete 

-m | --message <msg>  Optional message to display on macOS banner notification to notify user 


 Examples: 

1. List all available updates: 

  msupdate --list 

2. Download and install all available updates: 

  msupdate --install 

3. Download and install latest available updates for <App1>, <App2> and <App3>: 

  msupdate --install --apps <App1> <App2> <App3> 

4. Download and install <App> update xx.yy.YYMMDDXX: 

  msupdate --install --apps <App> --version xx.yy.YYMMDDXX 

5. Download and install latest available updates for <App> and wait for <x> seconds before closing opened applications and display <message> on macOS banner notification to notify user 

  msupdate --install --apps <App> -t <x> -m <message> 



msupdate -c
→ Display current AutoUpdate configuration  設定内容を見る
App Domain
→ com.microsoft.edgemac
Application ID
→ EDGE01

msupdate -c -f plist > /tmp/msupdate.plist

sed '1d' /tmp/msupdate.plist > $HOME/Desktop/msupdate.plist


json書き出しのPlist変換は
↓とか でもOK
1行目に『Checking configuration...』が入るので、1行目を取るのを終われなく

msupdate -c > /tmp/msupdate.tmp.json

sed '1d' /tmp/msupdate.tmp.json > /tmp/msupdate.json

20220203-193542


|

« [Admin]Microsoft Edge | トップページ | [Admin]com.microsoft.autoupdate2 »

Admin」カテゴリの記事

AppleScript Microsoft」カテゴリの記事