z-lab-salt/befehle.txt

36 lines
763 B
Plaintext

salt-run winrepo.update_git_repos
salt -G 'os:windows' pkg.refresh_db
salt '*' state.apply
#salt '*' pkg.install 'firefox_x64'
cat /srv/salt/states/pcs.sls
firefox_x64:
pkg:
- installed
salt '*' state.apply pcs
salt '*' state.apply
salt -G 'os:windows' pkg.refresh_db
salt '*' pkg.install arduino-ide version=2.3.3
#noch einbauen
salt '*' cmd.run 'wmic product where "name like \'%Automate%\'" call uninstall /nointeractive' shell=powershell
salt "*" appx.remove *ZuneMusic*
# list installed packages
salt -G 'os:windows' pkg.list_pkgs
# list available versions
salt win11 pkg.list_available firefox_x64
#Windows Updates
salt -G 'os:windows' win_wua.available
salt -G 'os:windows' win_wua.download xxxxxxx
salt '*' win_wua.install xxxxxxxxxxxx