From 475fd701265f6c66f3b0e3c3529b88e78a537150 Mon Sep 17 00:00:00 2001 From: abrown38 Date: Fri, 23 Aug 2024 09:05:10 +0100 Subject: [PATCH] add comment about failing command --- .../win_domain_controller/files/OpenStackADBuildv7.5.2.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.2.ps1 b/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.2.ps1 index 96ba1c6..29cb27d 100644 --- a/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.2.ps1 +++ b/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.2.ps1 @@ -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' \ No newline at end of file +Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\BuildScript.txt'