From 4bb09723518cbdf3c41e06b593e2642cdf8f7c7b Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Tue, 12 Oct 2021 01:52:20 -0700 Subject: [PATCH] Generalize unattend path --- CopyFilesToVM.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CopyFilesToVM.ps1 b/CopyFilesToVM.ps1 index d156b27..b0dd751 100644 --- a/CopyFilesToVM.ps1 +++ b/CopyFilesToVM.ps1 @@ -4189,7 +4189,7 @@ $params = @{ SizeBytes = 40gb MemoryAmount = 8GB CPUCores = 4 - UnattendPath = "C:\Users\james\Downloads\autounattend.xml" + UnattendPath = "$PSScriptRoot"+"\autounattend.xml" GPUName = "NVIDIA GeForce GTX 1050 Ti with Max-Q Design" GPUResourceAllocationPercentage = 25 }