We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b56d04 + 41cdb75 commit 299df22Copy full SHA for 299df22
README.md
@@ -34,7 +34,7 @@ The powershell module adapts the Puppet [exec](http://docs.puppet.com/references
34
35
~~~ puppet
36
exec { 'RESOURCENAME':
37
- command => '$(SOMECOMMAND)',
+ command => 'SOMECOMMAND',
38
provider => powershell,
39
}
40
~~~
@@ -47,7 +47,7 @@ For instance, to rename the Guest account:
47
48
49
exec { 'rename-guest':
50
- command => '$(Get-WMIObject Win32_UserAccount -Filter "Name=\'guest\'").Rename("new-guest")',
+ command => '(Get-WMIObject Win32_UserAccount -Filter "Name=\'guest\'").Rename("new-guest")',
51
unless => 'if (Get-WmiObject Win32_UserAccount -Filter "Name=\'guest\'") { exit 1 }',
52
53
0 commit comments