add comment about failing command

This commit is contained in:
abrown38 committed 2024-08-23 09:05:10 +01:00
1 parent f4612aef17
commit 475fd70126
1 file changed
+2 -2
@@ -20,7 +20,7 @@ $computersOU = $DomainInfo.ComputersContainer
$domaincontrollersOU = $DomainInfo.DomainControllersContainer
#get wsus server name
$wsusserver = (Get-ADComputer -Identity "$winProject-WSUS").Name
$wsusserver = (Get-ADComputer -Identity "$winProject-WSUS").Name # Fails since WSUS server isn't part of the domain when this is run.
$homepage = "https://www.epcc.ed.ac.uk/"
@@ -420,4 +420,4 @@ New-GPLink -Name "Chrome" -Target $workbenchou
#Profile Redirection
#keyboard settings
Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\BuildScript.txt'
Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\BuildScript.txt'