Skip to content

OfficeOnlineServerInstallLanguagePack

dscbot edited this page Nov 5, 2023 · 3 revisions

OfficeOnlineServerInstallLanguagePack

Parameters

Parameter Attribute DataType Description Allowed Values
Ensure Key String Set to 'present' to specificy that the product should be installed. Present, Absent
BinaryDir Key String Path to setup.exe
Language Required String Language code for the package

Description

The OfficeOnlineServerInstallLanguagePack DSC resource is used to manage the installation of the language packs used for Office Online Server 2016.

Currently the only supported scenario is installation of the binaries, this resource doesn't allow them to be uninstalled.

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. SPOfficeOnlineServerInstallLanguagePack will throw an error when it detects the file is blocked.

Examples

Example 1

This example shows how to install a language pack for Office Online Server. Make sure to use this resource on every Server in the farm. Currently there is no support for uninstalling the language pack.

Configuration Example
{
    Param()

    Import-DscResource -ModuleName OfficeOnlineServerDsc

    OfficeOnlineServerInstallLanguagePack CurrentLanguagePack
    {
        Ensure    = "Present"
        BinaryDir = "D:\"
        Language  = "de-de"
    }
}