Skip to main content

Invoke-M365AppsDownload

SYNOPSIS

Downloads the Microsoft 365 Apps binary using the Office Deployment Tool (ODT).

SYNTAX

Invoke-M365AppsDownload [-ConfigFilePath] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This script downloads the Office Deployment Tool from Microsoft's official site, extracts it, and uses a specified configuration XML file to download the Microsoft 365 Apps binary.

EXAMPLES

EXAMPLE 1

Invoke-M365AppsDownload -ConfigFilePath .\Configuration-XX.xml

Runs the script to download the Microsoft 365 Apps binary.

PARAMETERS

-ConfigFilePath

The path to the configuration XML file used for the download. You can generate this file using the Office Customization Tool (OCT) at https://config.office.com/. Can be a relative or absolute path.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Ensure that you have a valid configuration XML file in the ConfigFiles folder.