Skip to content

Instantly share code, notes, and snippets.

{
"Name": "Zoom",
"Source": "https://zoom.us/",
"Get": {
"Download": {
"Windows": {
"Exe": "https://zoom.us/client/latest/ZoomInstaller.exe",
"Msi": "https://zoom.us/client/latest/ZoomInstallerFull.msi",
"Outlook": "https://zoom.us/client/latest/ZoomOutlookPluginSetup.msi",
},
{
"Name": "Slack",
"Source": "https://slack.com/intl/en-au/help/articles/212475728-Deploy-Slack-via-Microsoft-Installer",
"Get": {
"Update": {
"Uri": "https://update.app.com"
},
"Download": {
"PerUser": {
"x64": "https://slack.com/ssb/download-win64-msi-legacy"
# ACP Demo OSDCloud Add-On
Write-Host "Starting ACP Demo OS-Deployment"
Start-Sleep -Seconds 5
#Uninstall-Module OSD -Force -AllVersions
#Install-Module OSD -Force
Import-Module OSD -Force
$Global:StartOSDCloudGUI = @{OSVersion = 'Windows 10'}
Start-OSDCloud -OSBuild 21H2 -OSLanguage de-de -OSEdition Enterprise -ZTI
#===================================================================================================
# VERSIONING
# Scripts/Test-OSDModule.ps1
# OSD Module Minimum Version
# Since the OSD Module is doing much of the heavy lifting, it is important to ensure that old
# OSD Module versions are not used long term as the OSDCloud script can change
# This example allows you to control the Minimum Version allowed. A Maximum Version can also be
# controlled in a similar method
# In WinPE, the latest version will be installed automatically
# In Windows, this script is stopped and you will need to update manually
# Download and install Chocolatey nupkg from an OData (HTTP/HTTPS) url such as Artifactory, Nexus, ProGet (all of these are recommended for organizational use), or Chocolatey.Server (great for smaller organizations and POCs)
# This is where you see the top level API - with xml to Packages - should look nearly the same as https://community.chocolatey.org/api/v2/
# If you are using Nexus, always add the trailing slash or it won't work
# === EDIT HERE ===
$packageRepo = 'https://gist.github.com/agovardhanam'
# If the above $packageRepo repository requires authentication, add the username and password here. Otherwise these leave these as empty strings.
$repoUsername = '' # this must be empty is NOT using authentication
$repoPassword = '' # this must be empty if NOT using authentication
Write-Host -ForegroundColor Green "Starting EA-OSDCloud Deployment"
Start-Sleep -Seconds 5
#Change Display Resolution for Machine
if ((Get-MyComputerModel) -match 'Virtual') {
Write-Host -ForegroundColor Green "Setting Display Resolution to 1600x"
Set-DisRes 1600
}
Write-Host -ForegroundColor Yellow "Loading OSDCloud..."
Write-Host -ForegroundColor Yellow "Starting EA' Custom OSDCloud ..."
cls
Write-Host "===================== Main Menu =======================" -ForegroundColor Yellow
Write-Host "================ onsiteitsupport-hyderabad@ea.com============" -ForegroundColor Yellow
Write-Host "====================@onsiteitsupport-hyderabad =====================" -ForegroundColor Yellow
Write-Host "=======================================================" -ForegroundColor Yellow
Write-Host "1: Zero-Touch Win10 21H2 | English | Enterprise"-ForegroundColor Yellow
Write-Host "2: Zero-Touch Win10 21H1 | English | Enterprise" -ForegroundColor Yellow
Write-Host "3: I'll select it myself"-ForegroundColor Yellow
Write-Host "4: Exit`n"-ForegroundColor Yellow