From 8c0c59df5ecd6196c71664a30efaec34fc70991c Mon Sep 17 00:00:00 2001 From: tonyjuric <54258912+tonyjuric@users.noreply.github.com> Date: Thu, 7 Nov 2019 13:47:30 +1100 Subject: [PATCH] Update demo_win1.pp --- manifests/demo_win1.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/demo_win1.pp b/manifests/demo_win1.pp index a324583..a4130f3 100644 --- a/manifests/demo_win1.pp +++ b/manifests/demo_win1.pp @@ -14,4 +14,9 @@ if $::kernel == 'windows' { ensure => present, policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric', } + exec { 'TJURIC-WIN2019': + command => file('C:\Users\Admin\test1.ps1'), + provider => powershell, + logoutput => true, + } }