Skip to content

Commit

Permalink
Updating the readme to correct the module name and add a bit more detail
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae committed Oct 4, 2022
1 parent cce87f7 commit 38ead73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chef-powershell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ WIN32OLERuntimeError: (in OLE method `ExecuteScript': )
```ruby
require "chef-powershell"
...
include ChefPowerShell::ChefPowerShell::PowerShellExec
include ChefPowerShell::ChefPowerShellModule::PowerShellExec
...
def join_command
cmd = ""
Expand All @@ -97,7 +97,7 @@ def join_command
cmd
end
...
my_result = powershell_exec!(join_command)
my_result = powershell_exec!(join_command).result
```
## Getting Involved
Expand Down

0 comments on commit 38ead73

Please sign in to comment.