- Shopfloor PC type menu (CMM, WaxAndTrace, Keyence, Genspect, Display, Standard) - Baseline scripts: OpenText CSF, Start Menu shortcuts, network/WinRM, power/display - Standard type: eDNC + MarkZebra with 64-bit path mirroring - CMM type: Hexagon CLM Tools, PC-DMIS 2016/2019 R2 - Display sub-type: Lobby vs Dashboard - Webapp: enrollment management, image config editor, UI refresh - Upload-Image.ps1: robocopy MCL cache to PXE server - Download-Drivers.ps1: Dell driver download pipeline - Slim Blancco GRUB EFI (10MB -> 660KB) for old hardware compat - Shopfloor display imaging guide docs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
52 lines
1.8 KiB
PowerShell
52 lines
1.8 KiB
PowerShell
# 02-OpenTextCSF.ps1 — Deploy OpenText HostExplorer CSF profiles (baseline)
|
|
# Copies connection profiles, keymaps, menus, and macros to ProgramData.
|
|
|
|
$setupDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
$csfSource = Join-Path $setupDir "csf"
|
|
$destRoot = "C:\ProgramData\Hummingbird\Connectivity\15.00\Shared"
|
|
|
|
if (-not (Test-Path $csfSource)) {
|
|
Write-Warning "CSF source folder not found at $csfSource - skipping."
|
|
return
|
|
}
|
|
|
|
Write-Host "Deploying OpenText CSF profiles to $destRoot ..."
|
|
|
|
# Map of source subdirectories to destination subdirectories
|
|
$folders = @(
|
|
@{ Src = "Profile"; Dest = "Profile" }
|
|
@{ Src = "Accessories\EB"; Dest = "Accessories\EB" }
|
|
@{ Src = "HostExplorer\Keymap"; Dest = "HostExplorer\Keymap" }
|
|
@{ Src = "HostExplorer\Menu"; Dest = "HostExplorer\Menu" }
|
|
)
|
|
|
|
foreach ($folder in $folders) {
|
|
$src = Join-Path $csfSource $folder.Src
|
|
$dest = Join-Path $destRoot $folder.Dest
|
|
|
|
if (-not (Test-Path $src)) {
|
|
Write-Host " Skipping $($folder.Src) (not present in csf source)"
|
|
continue
|
|
}
|
|
|
|
if (-not (Test-Path $dest)) {
|
|
New-Item -Path $dest -ItemType Directory -Force | Out-Null
|
|
Write-Host " Created $dest"
|
|
}
|
|
|
|
$files = Get-ChildItem -Path $src -File
|
|
foreach ($file in $files) {
|
|
Copy-Item -Path $file.FullName -Destination $dest -Force
|
|
Write-Host " Copied $($file.Name) -> $dest"
|
|
}
|
|
}
|
|
|
|
# Copy pre-made .lnk shortcuts to Public Desktop
|
|
$lnkFiles = Get-ChildItem -Path $csfSource -Filter "*.lnk" -File
|
|
foreach ($lnk in $lnkFiles) {
|
|
Copy-Item -Path $lnk.FullName -Destination "C:\Users\Public\Desktop" -Force
|
|
Write-Host " Copied $($lnk.Name) -> Public Desktop"
|
|
}
|
|
|
|
Write-Host "OpenText CSF deployment complete."
|