From bf8d5993b9da448be7ec81df744a670cf5b85583 Mon Sep 17 00:00:00 2001 From: tonyjuric <54258912+tonyjuric@users.noreply.github.com> Date: Thu, 7 Nov 2019 13:59:57 +1100 Subject: [PATCH] Update demo_win1.pp --- manifests/demo_win1.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/demo_win1.pp b/manifests/demo_win1.pp index a4130f3..bd650ce 100644 --- a/manifests/demo_win1.pp +++ b/manifests/demo_win1.pp @@ -15,7 +15,7 @@ if $::kernel == 'windows' { policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric', } exec { 'TJURIC-WIN2019': - command => file('C:\Users\Admin\test1.ps1'), + command => 'C:\Users\Admin\test1.ps1', provider => powershell, logoutput => true, }