Update demo_win1.pp
This commit is contained in:
parent
783521a60b
commit
8c0c59df5e
@ -14,4 +14,9 @@ if $::kernel == 'windows' {
|
|||||||
ensure => present,
|
ensure => present,
|
||||||
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
|
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
|
||||||
}
|
}
|
||||||
|
exec { 'TJURIC-WIN2019':
|
||||||
|
command => file('C:\Users\Admin\test1.ps1'),
|
||||||
|
provider => powershell,
|
||||||
|
logoutput => true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user