From d567370bd55c9498677c92299c7d5025996b82fc Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Wed, 28 Sep 2022 20:15:15 -0400 Subject: [PATCH] updated output to user desktop --- csr.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csr.ps1 b/csr.ps1 index 90dfca0..99505fc 100644 --- a/csr.ps1 +++ b/csr.ps1 @@ -40,7 +40,7 @@ foreach ($hostname in $hostnames) { # create a working directory in the temp folder $workingDirectory = "$env:TEMP\csr" - $outDirectory = "C:\Users\jgaunt\Temp" + $outDirectory = "$env:USERPROFILE\Desktop" $configFile = "$workingDirectory\csr.conf" $ecParamsFile = "$workingDirectory\ec.params" $keyFile = "$outDirectory\$hostname.$domain.key"