Update demo_win1.pp

This commit is contained in:
tonyjuric 2019-11-07 13:47:30 +11:00 committed by GitHub
parent 783521a60b
commit 8c0c59df5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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