Skip to content

Commit 74be94e

Browse files
it-praktykSean Wheeler
authored and
Sean Wheeler
committed
Replace Windows PowerShell with PowerShell (#2785)
1 parent 20f1ad0 commit 74be94e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+258
-258
lines changed

reference/6/Microsoft.PowerShell.Management/Clear-Content.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Using a filter to restrict the command to files with the .log file name extensio
5858
Type a user name, such as "User01" or "Domain01\User01", or enter a **PSCredential** object, such as one generated by the **Get-Credential** cmdlet.
5959
If you type a user name, you will be prompted for a password.
6060

61-
This parameter is not supported by any providers installed with Windows PowerShell.
61+
This parameter is not supported by any providers installed with PowerShell.
6262

6363
```yaml
6464
Type: String
@@ -79,7 +79,7 @@ The default is the current user.
7979
Type a user name, such as "User01" or "Domain01\User01", or enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
8080
If you type a user name, you will be prompted for a password.
8181
82-
This parameter is not supported by any providers installed with Windows PowerShell.
82+
This parameter is not supported by any providers installed with PowerShell.
8383
8484
```yaml
8585
Type: PSCredential
@@ -115,7 +115,7 @@ Accept wildcard characters: False
115115
Specifies a filter in the provider's format or language.
116116
The value of this parameter qualifies the *Path* parameter.
117117
The syntax of the filter, including the use of wildcards, depends on the provider.
118-
Filters are more efficient than other parameters, because the provider applies them when retrieving the objects, rather than having Windows PowerShell filter the objects after they are retrieved.
118+
Filters are more efficient than other parameters, because the provider applies them when retrieving the objects, rather than having PowerShell filter the objects after they are retrieved.
119119
120120
```yaml
121121
Type: String
@@ -167,7 +167,7 @@ Specifies the paths to the items from which content is deleted.
167167
Unlike the *Path* parameter, the value of *LiteralPath* is used exactly as it is typed.
168168
No characters are interpreted as wildcards.
169169
If the path includes escape characters, enclose it in single quotation marks.
170-
Single quotation marks tell having Windows PowerShell not to interpret any characters as escape sequences.
170+
Single quotation marks tell having PowerShell not to interpret any characters as escape sequences.
171171
172172
```yaml
173173
Type: String[]
@@ -271,8 +271,8 @@ This cmdlet does not return any objects.
271271
For instance, `Clear-Content c:\mydir\*.txt`.
272272
If you include the parameter name, you can list the parameters in any order.
273273

274-
You can use **Clear-Content** with the Windows PowerShell FileSystem provider and with other providers that manipulate content.
275-
To clear items that are not considered to be content, such as items managed by the Windows PowerShell Certificate or Registry providers, use Clear-Item.
274+
You can use **Clear-Content** with the PowerShell FileSystem provider and with other providers that manipulate content.
275+
To clear items that are not considered to be content, such as items managed by the PowerShell Certificate or Registry providers, use Clear-Item.
276276

277277
The **Clear-Content** cmdlet is designed to work with the data exposed by any provider.
278278
To list the providers available in your session, type `Get-PsProvider`.

reference/6/Microsoft.PowerShell.Management/Clear-Item.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Clear-Item -LiteralPath <String[]> [-Force] [-Filter <String>] [-Include <String
3030
## DESCRIPTION
3131
The **Clear-Item** cmdlet clears the content of an item, but it does not delete the item.
3232
For example, the **Clear-Item** cmdlet can delete the value of a variable, but it does not delete the variable.
33-
The value that used to represent a cleared item is defined by each Windows PowerShell provider.
33+
The value that used to represent a cleared item is defined by each PowerShell provider.
3434
This cmdlet is similar to Clear-Content, but it works on aliases and variables, instead of files.
3535

3636
## EXAMPLES
@@ -45,9 +45,9 @@ PS Variable:\> Clear-Item TestVar1
4545

4646
This command clears the value of the variable named TestVar1.
4747
The variable remains and is valid, but its value is set to null.
48-
The variable name is prefixed with Variable: to indicate the Windows PowerShell Variable provider.
48+
The variable name is prefixed with Variable: to indicate the PowerShell Variable provider.
4949

50-
The alternate commands show that, to get the same result, you can switch to the Windows PowerShell Variable: drive and then run the **Clear-Item** command.
50+
The alternate commands show that, to get the same result, you can switch to the PowerShell Variable: drive and then run the **Clear-Item** command.
5151

5252
### Example 2: Clear all registry entries
5353
```
@@ -69,7 +69,7 @@ The default is the current user.
6969
Type a user name, such as User01 or Domain01\User01, or enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
7070
If you type a user name, you will be prompted for a password.
7171

72-
This parameter is not supported by any providers installed with Windows PowerShell.
72+
This parameter is not supported by any providers installed with PowerShell.
7373

7474
```yaml
7575
Type: PSCredential
@@ -105,7 +105,7 @@ Accept wildcard characters: False
105105
Specifies a filter in the provider's format or language.
106106
The value of this parameter qualifies the *Path* parameter.
107107
The syntax of the filter, including the use of wildcards, depends on the provider.
108-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects, rather than having Windows PowerShell filter the objects after they are retrieved.
108+
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects, rather than having PowerShell filter the objects after they are retrieved.
109109
110110
```yaml
111111
Type: String
@@ -256,9 +256,9 @@ You can pipe a path string to this cmdlet.
256256
This cmdlet does not generate any output.
257257
258258
## NOTES
259-
* The **Clear-Item** cmdlet is supported only by several Windows PowerShell providers, including the Alias, Environment, Function, Registry, and Variable providers. As such, you can use **Clear-Item** to delete the content of items in the provider namespaces.
259+
* The **Clear-Item** cmdlet is supported only by several PowerShell providers, including the Alias, Environment, Function, Registry, and Variable providers. As such, you can use **Clear-Item** to delete the content of items in the provider namespaces.
260260
261-
You cannot use **Clear-Item** to delete the contents of a file, because the Windows PowerShell FileSystem provider does not support this cmdlet.
261+
You cannot use **Clear-Item** to delete the contents of a file, because the PowerShell FileSystem provider does not support this cmdlet.
262262
To clear files, use the **Clear-Content**.
263263
264264
You can also refer to **Clear-Item** by its built-in alias, cli.

reference/6/Microsoft.PowerShell.Management/Clear-ItemProperty.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The default is the current user.
5656
Type a user name, such as User01 or Domain01\User01, or enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
5757
If you type a user name, you will be prompted for a password.
5858

59-
This parameter is not supported by any providers installed with Windows PowerShell.
59+
This parameter is not supported by any providers installed with PowerShell.
6060

6161
```yaml
6262
Type: PSCredential
@@ -92,7 +92,7 @@ Accept wildcard characters: False
9292
Specifies a filter in the provider's format or language.
9393
The value of this parameter qualifies the *Path* parameter.
9494
The syntax of the filter, including the use of wildcards, depends on the provider.
95-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having Windows PowerShell filter the objects after they are retrieved.
95+
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved.
9696
9797
```yaml
9898
Type: String
@@ -146,7 +146,7 @@ Specifies the path to the property being cleared.
146146
Unlike the *Path* parameter, the value of *LiteralPath* is used exactly as it is typed.
147147
No characters are interpreted as wildcards.
148148
If the path includes escape characters, enclose it in single quotation marks.
149-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
149+
Single quotation marks tell PowerShell not to interpret any characters as escape sequences.
150150
151151
```yaml
152152
Type: String[]

reference/6/Microsoft.PowerShell.Management/Convert-Path.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: Convert-Path
1111
# Convert-Path
1212

1313
## SYNOPSIS
14-
Converts a path from a Windows PowerShell path to a Windows PowerShell provider path.
14+
Converts a path from a PowerShell path to a PowerShell provider path.
1515

1616
## SYNTAX
1717

@@ -26,7 +26,7 @@ Convert-Path -LiteralPath <String[]> [-UseTransaction] [<CommonParameters>]
2626
```
2727

2828
## DESCRIPTION
29-
The **Convert-Path** cmdlet converts a path from a Windows PowerShell path to a Windows PowerShell provider path.
29+
The **Convert-Path** cmdlet converts a path from a PowerShell path to a PowerShell provider path.
3030

3131
## EXAMPLES
3232

@@ -42,7 +42,7 @@ This command converts the current working directory, which is represented by a d
4242
PS C:\> Convert-Path HKLM:\Software\Microsoft
4343
```
4444

45-
This command converts the Windows PowerShell provider path to a standard registry path.
45+
This command converts the PowerShell provider path to a standard registry path.
4646

4747
### Example 3: Convert a path to a string
4848
```
@@ -59,7 +59,7 @@ Specifies, as a string array, the path to be converted.
5959
The value of the *LiteralPath* parameter is used exactly as it is typed.
6060
No characters are interpreted as wildcards.
6161
If the path includes escape characters, enclose it in single quotation marks.
62-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
62+
Single quotation marks tell PowerShell not to interpret any characters as escape sequences.
6363

6464
```yaml
6565
Type: String[]
@@ -74,7 +74,7 @@ Accept wildcard characters: False
7474
```
7575
7676
### -Path
77-
Specifies the Windows PowerShell path to be converted.
77+
Specifies the PowerShell path to be converted.
7878
7979
```yaml
8080
Type: String[]
@@ -121,7 +121,7 @@ You can pipe a path, but not a literal path, to this cmdlet.
121121
This cmdlet returns a string that contains the converted path.
122122
123123
## NOTES
124-
* The cmdlets that contain the Path noun manipulate path names and return the names in a concise format that all Windows PowerShell providers can interpret. They are designed for use in programs and scripts where you want to display all or part of a path name in a particular format. Use them like you would use Dirname, Normpath, Realpath, Join, or other path manipulators.
124+
* The cmdlets that contain the Path noun manipulate path names and return the names in a concise format that all PowerShell providers can interpret. They are designed for use in programs and scripts where you want to display all or part of a path name in a particular format. Use them like you would use Dirname, Normpath, Realpath, Join, or other path manipulators.
125125
126126
You can use the path cmdlets with several providers, including the FileSystem, Registry, and Certificate providers.
127127

reference/6/Microsoft.PowerShell.Management/Copy-Item.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The **Copy-Item** cmdlet copies an item from one location to another location in
3434
For instance, it can copy a file to a folder, but it cannot copy a file to a certificate drive.
3535

3636
This cmdlet does not cut or delete the items being copied.
37-
The particular items that the cmdlet can copy depend on the Windows PowerShell provider that exposes the item.
37+
The particular items that the cmdlet can copy depend on the PowerShell provider that exposes the item.
3838
For instance, it can copy files and directories in a file system drive and registry keys and entries in the registry drive.
3939

4040
This cmdlet can copy and rename items in the same command.
@@ -180,7 +180,7 @@ The default is the current user.
180180
Type a user name, such as User01 or Domain01\User01, or enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
181181
If you type a user name, you are prompted for a password.
182182
183-
This parameter is not supported by any providers installed with Windows PowerShell.
183+
This parameter is not supported by any providers installed with PowerShell.
184184
185185
```yaml
186186
Type: PSCredential
@@ -230,7 +230,7 @@ Accept wildcard characters: False
230230
Specifies a filter in the provider's format or language.
231231
The value of this parameter qualifies the *Path* parameter.
232232
The syntax of the filter, including the use of wildcards, depends on the provider.
233-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects, rather than have Windows PowerShell filter the objects after they are retrieved.
233+
Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects, rather than have PowerShell filter the objects after they are retrieved.
234234
235235
```yaml
236236
Type: String
@@ -279,7 +279,7 @@ Specifies a path to the item.
279279
The value of the *LiteralPath* parameter is used exactly as it is typed.
280280
No characters are interpreted as wildcards.
281281
If the path includes escape characters, enclose it in single quotation marks.
282-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
282+
Single quotation marks tell PowerShell not to interpret any characters as escape sequences.
283283
284284
```yaml
285285
Type: String[]

reference/6/Microsoft.PowerShell.Management/Copy-ItemProperty.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The default is the current user.
5151
Type a user name, such as User01 or Domain01\User01, or enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
5252
If you type a user name, you will be prompted for a password.
5353

54-
This parameter is not supported by any providers installed with Windows PowerShell.
54+
This parameter is not supported by any providers installed with PowerShell.
5555

5656
```yaml
5757
Type: PSCredential
@@ -100,7 +100,7 @@ Accept wildcard characters: False
100100
Specifies a filter in the provider's format or language.
101101
The value of this parameter qualifies the *Path* parameter.
102102
The syntax of the filter, including the use of wildcards, depends on the provider.
103-
Filters are more efficient than other parameters, because the provider applies them when this cmdlet gets the objects rather than having Windows PowerShell filter the objects after they are retrieved.
103+
Filters are more efficient than other parameters, because the provider applies them when this cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved.
104104
105105
```yaml
106106
Type: String
@@ -149,7 +149,7 @@ Specifies a path to the item property.
149149
The value of the *LiteralPath* parameter is used exactly as it is typed.
150150
No characters are interpreted as wildcards.
151151
If the path includes escape characters, enclose it in single quotation marks.
152-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
152+
Single quotation marks tell PowerShell not to interpret any characters as escape sequences.
153153
154154
```yaml
155155
Type: String[]

reference/6/Microsoft.PowerShell.Management/Get-ChildItem.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The `Get-ChildItem` cmdlet gets the items in one or more specified locations.
3737
If the item is a container, it gets the items inside the container, known as child items.
3838
You can use the `-Recurse` parameter to get items in all child containers and use the `-Depth` parameter to limit the number of levels to recurse.
3939

40-
A location can be a file system location, such as a directory, or a location exposed by a different Windows PowerShell provider, such as a registry hive or a certificate store.
40+
A location can be a file system location, such as a directory, or a location exposed by a different PowerShell provider, such as a registry hive or a certificate store.
4141

4242
## Examples
4343

@@ -61,7 +61,7 @@ Get-ChildItem -Path *.txt -Recurse -Force
6161
```
6262

6363
This command gets all of the .txt files in the current directory and its subdirectories.
64-
The `-Recurse` parameter directs Windows PowerShell to get objects recursively, and it indicates that the subject of the command is the specified directory and its contents.
64+
The `-Recurse` parameter directs PowerShell to get objects recursively, and it indicates that the subject of the command is the specified directory and its contents.
6565
The `-Force` parameter adds hidden files to the display.
6666

6767
To use the `-Recurse` parameter on Windows PowerShell 2.0 and earlier versions of Windows PowerShell, the value use the `-Path` parameter must be a container.
@@ -101,7 +101,7 @@ Import-Module Microsoft.PowerShell.Security
101101
Get-ChildItem -Path Cert:\* -Recurse -CodeSigningCert
102102
```
103103

104-
This command gets all of the certificates in the Windows PowerShell Cert: drive that have code-signing authority.
104+
This command gets all of the certificates in the PowerShell Cert: drive that have code-signing authority.
105105

106106
The first command imports the Microsoft.PowerShell.Security module into the session.
107107
This module includes the Certificate provider that creates the Cert: drive.
@@ -196,7 +196,7 @@ Accept wildcard characters: False
196196
197197
### -Depth
198198
199-
This parameter, added in Powershell 5.0 enables you to control the depth of recursion.
199+
This parameter, added in Windows Powershell 5.0 enables you to control the depth of recursion.
200200
You use both the `-Recurse` and the `-Depth` parameter to limit the recursion.
201201

202202
```yaml
@@ -275,7 +275,7 @@ Accept wildcard characters: False
275275
Specifies a filter in the provider's format or language.
276276
The value of this parameter qualifies the `-Path` parameter.
277277
The syntax of the filter, including the use of wildcards, depends on the provider.
278-
Filters are more efficient than other parameters, because the provider applies them when retrieving the objects, rather than having Windows PowerShell filter the objects after they are retrieved.
278+
Filters are more efficient than other parameters, because the provider applies them when retrieving the objects, rather than having PowerShell filter the objects after they are retrieved.
279279

280280
```yaml
281281
Type: String
@@ -373,7 +373,7 @@ Specifies a path to one or more locations.
373373
Unlike the `-Path` parameter, the value of the `-LiteralPath` parameter is used exactly as it is typed.
374374
No characters are interpreted as wildcards.
375375
If the path includes escape characters, enclose it in single quotation marks.
376-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
376+
Single quotation marks tell PowerShell not to interpret any characters as escape sequences.
377377

378378
```yaml
379379
Type: String[]

0 commit comments

Comments
 (0)