Skip to content

Commit 8f0c403

Browse files
authored
Merge pull request #254 from puppetlabs/clairecadman-patch-1
(MODULES-8924) DOCS Release Review
2 parents d13a14f + a704c6c commit 8f0c403

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Puppet provides a built-in `exec` type that is capable of executing commands. Th
2626

2727
### Requirements
2828

29-
The `powershell` provider requires [Windows PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-5.1) and have `powershell.exe` available in the system PATH. Note that most Windows operating systems already have Windows PowerShell installed.
29+
The `powershell` provider requires you install [Windows PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-5.1) and have `powershell.exe` available in the system PATH. Note that most Windows operating systems already have Windows PowerShell installed.
3030

3131
The `pwsh` provider requires you install [PowerShell Core](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-6) and make `pwsh` available either in the system PATH or specified in the `path` parameter.
3232

33-
For example, when PowerShell Core is installed in `/usr/alice/pscore` the following manifest is needed:
33+
For example, when you install PowerShell Core in `/usr/alice/pscore`, you need the following manifest:
3434

3535
~~~ puppet
3636
exec { 'RESOURCENAME':
@@ -141,9 +141,9 @@ However, to produce output from a script, use the `Write-` prefixed cmdlets such
141141

142142
#### Provider
143143

144-
* powershell: Adapts the Puppet `exec` resource to run [Windows PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-5.1) commands.
144+
* `powershell`: Adapts the Puppet `exec` resource to run [Windows PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-5.1) commands.
145145

146-
* pwsh: Adapts the Puppet `exec` resource to run [PowerShell Core](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-6) commands.
146+
* `pwsh`: Adapts the Puppet `exec` resource to run [PowerShell Core](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-6) commands.
147147

148148
#### Parameters
149149

@@ -209,8 +209,12 @@ Runs the `exec`, unless the command returns 0. Valid options: String. Default: U
209209

210210
## Limitations
211211

212-
* The `powershell` provider is only supported on Windows Server 2008 and above, and Windows 7 and above.
212+
* The `powershell` provider is only supported on:
213213

214+
* Windows Server 2008 and above
215+
216+
* Windows 7 and above
217+
214218
* The `pwsh` provider is supported on:
215219

216220
* CentOS 7

0 commit comments

Comments
 (0)