-
Notifications
You must be signed in to change notification settings - Fork 16
OfficeOnlineServerProductUpdate
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
SetupFile | Key | String | The name of the update setup file | |
Servers | Required | StringArray[] | List of servers in the Office Online Server farm | |
Ensure | Write | String | Present to install Update. Absent is currently not supported |
Present , Absent
|
InstallAccount | Write | PSCredential | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 |
Type: Common Requires CredSSP: No
This resource is used to perform the update step of installing Office Online Server updates, like Cumulative Updates and Service Packs. The SetupFile parameter should point to the update file. The Servers parameter specifies all servers in the OOS farm.
NOTE: When files are downloaded from the Internet, a Zone.Identifier alternate data stream is added to indicate that the file is potentially from an unsafe source. To use these files, make sure you first unblock them using Unblock-File. OfficeOnlineServerProductUpdate will throw an error when it detects the file is blocked.
NOTE 2: This resource can be used to deploy updates during the installation of Office Online Server or when it is fully configured. This module follows the patching procedure specified in the following article: https://docs.microsoft.com/en-us/officeonlineserver/apply-software-updates-to-office-online-server
This example shows how to install cumulative updates for office online server to the local server.
Configuration Example
{
Param()
Import-DscResource -ModuleName OfficeOnlineServerDsc
OfficeOnlineServerProductUpdate InstallCU
{
Ensure = "Present"
SetupFile = "C:\Installer\wacserver2019-kb4484223-fullfile-x64-glb.exe"
Servers = @("OOS1", "OOS2")
}
}