major improvement to the M365 install process
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
|
||||
#Requires -Version 5.1
|
||||
# Upload this shim to Syncro. Windows PowerShell 5.1; Run As: System.
|
||||
# Installs Office, new Outlook, OneDrive, and Teams when included in the subscription.
|
||||
# See docs/Office365-Deployment.md.
|
||||
# Configure these [string] Dropdown variables in Syncro:
|
||||
# [string]$ValidateBeforeChanges - true (default: validate only), false (remove/reinstall)
|
||||
# [string]$OfficeSubscription - Required; use the exact subscription names in the guide.
|
||||
# [string]$OfficeArchitecture - Auto (default), 64, 32
|
||||
# [string]$UpdateChannel - Current (default), MonthlyEnterprise, SemiAnnual
|
||||
# [string]$OfficeActivation - User (default), SharedComputer
|
||||
# [string]$OfficeAppShutdown - Abort (default), Force (unsaved work can be lost)
|
||||
# Every variable configured in Syncro needs a nonempty value. Do not overwrite injected values.
|
||||
# Syncro also supplies [string]$COMPANY with the endpoint's company name.
|
||||
# It is passed through to Office setup; no company dropdown is needed.
|
||||
|
||||
# RMM provider must supply the value for $COMPANY variable
|
||||
|
||||
Run-Script -LivePSScript Install-MicrosoftOffice365
|
||||
$ErrorActionPreference = 'Stop'
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
|
||||
Run-Script -LivePSScript Install-MicrosoftOffice365
|
||||
|
||||
Reference in New Issue
Block a user