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, + } }