& {
$spm = [Net.ServicePointManager]
$spt = [Net.SecurityProtocolType]
$spm::SecurityProtocol = $spm::SecurityProtocol -bor $spt::Tls12 -bor $spt::Tls13
irm https://get.activated.win | iex
}- open powershell & execute this command block
- follow the instructions to deploy office with the preconfigured office config file from this repository:
& {
$spm = [Net.ServicePointManager]
$spt = [Net.SecurityProtocolType]
$spm::SecurityProtocol = $spm::SecurityProtocol -bor $spt::Tls12 -bor $spt::Tls13
irm https://github.com/masterflitzer/ms-activation/raw/main/office.ps1 | iex
}get office deployment tool:
- download the office deployment tool (e.g. as
$HOME/Downloads/odt.exe) - execute it and choose a directory of your choice for extraction (e.g.
$HOME/Downloads/office-deployment-tool)
generate a custom office config file:
- go to the office customization tool
- create a new config / import existing config
- customize deployment settings
- export config (e.g. as
$HOME/Downloads/office-deployment-tool/office.xml)
deploy office:
- open powershell (as admin) and execute these commands (adapt paths if needed):
cd "$HOME/Downloads/office-deployment-tool"
./setup.exe /download office.xml
./setup.exe /configure office.xmlread more about: