Update demo_win1.pp

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

View File

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