summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/windows/win_scheduled_task.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/windows/win_scheduled_task.ps1')
-rw-r--r--lib/ansible/modules/windows/win_scheduled_task.ps13
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ansible/modules/windows/win_scheduled_task.ps1 b/lib/ansible/modules/windows/win_scheduled_task.ps1
index 8dd9323712..92e918ac02 100644
--- a/lib/ansible/modules/windows/win_scheduled_task.ps1
+++ b/lib/ansible/modules/windows/win_scheduled_task.ps1
@@ -125,12 +125,9 @@ public enum TASK_TRIGGER_TYPE2 // https://msdn.microsoft.com/en-us/library/windo
"@
$original_tmp = $env:TMP
-$original_temp = $env:TEMP
$env:TMP = $_remote_tmp
-$env:TEMP = $_remote_tmp
Add-Type -TypeDefinition $task_enums
$env:TMP = $original_tmp
-$env:TEMP = $original_temp
########################
### HELPER FUNCTIONS ###