feat: Update TS Install DCU for Dell Inc. & Update Join Domain 3e octets
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env powershell
|
||||
|
||||
Write-Host "Test 1: Script lance"
|
||||
|
||||
$SourceBase = 'C:\Dev\Infra-LAB\projects\MDT'
|
||||
$DestinationBase = 'C:\MDT'
|
||||
$DryRun = $true
|
||||
|
||||
Write-Host "SourceBase: $SourceBase"
|
||||
Write-Host "DestinationBase: $DestinationBase"
|
||||
|
||||
$controlSource = "$SourceBase\Control"
|
||||
$scriptsSource = "$SourceBase\Scripts"
|
||||
|
||||
Write-Host "Verifying paths..."
|
||||
Write-Host "Control source: $controlSource"
|
||||
Write-Host "Control exists: $(Test-Path $controlSource)"
|
||||
|
||||
Write-Host "Scripts source: $scriptsSource"
|
||||
Write-Host "Scripts exists: $(Test-Path $scriptsSource)"
|
||||
|
||||
if (Test-Path $controlSource) {
|
||||
Write-Host "Control folder found!"
|
||||
Get-ChildItem -Path $controlSource | Select-Object -First 5
|
||||
}
|
||||
|
||||
if (Test-Path $scriptsSource) {
|
||||
Write-Host "Scripts folder found!"
|
||||
Get-ChildItem -Path $scriptsSource | Select-Object -First 5
|
||||
}
|
||||
Reference in New Issue
Block a user