-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fixes #3268 short description in about topics #4328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ online version: http://go.microsoft.com/fwlink/?LinkId=834943 | |
# Alias provider | ||
|
||
## Provider name | ||
|
||
Alias | ||
|
||
## Drives | ||
|
@@ -20,7 +21,6 @@ Alias | |
**ShouldProcess** | ||
|
||
## Short description | ||
|
||
Provides access to the PowerShell aliases and the values that they represent. | ||
|
||
## Detailed description | ||
|
@@ -45,8 +45,9 @@ in this article. | |
- [Remove-Item](../../Microsoft.PowerShell.Management/Remove-Item.md) | ||
- [Clear-Item](../../Microsoft.PowerShell.Management/Clear-Item.md) | ||
|
||
PowerShell includes a set of cmdlets that are designed to view and to change aliases. When you use **Alias** cmdlets, you do not need to specify the `Alias:` drive in the name. This article does not cover working with | ||
**Alias** cmdlets. | ||
PowerShell includes a set of cmdlets that are designed to view and to change aliases. When you use | ||
**Alias** cmdlets, you do not need to specify the `Alias:` drive in the name. This article does not | ||
cover working with **Alias** cmdlets. | ||
|
||
- [Export-Alias](../../Microsoft.PowerShell.Utility/Export-Alias.md) | ||
- [Get-Alias](../../Microsoft.PowerShell.Utility/Get-Alias.md) | ||
|
@@ -83,8 +84,8 @@ path. | |
> PowerShell uses aliases to allow you a familiar way to work with provider | ||
> paths. Commands such as `dir` and `ls` are now aliases for | ||
> [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md), | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and `pwd` is | ||
> an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and | ||
> `pwd` is > an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
|
||
### Displaying the Contents of the Alias: drive | ||
|
||
|
@@ -273,8 +274,8 @@ Determines the value of the **Options** property of an alias. | |
|
||
- `None`: No options. This value is the default. | ||
- `Constant`:The alias cannot be deleted and its properties cannot be changed. | ||
`Constant` is available only when you create an alias. You cannot change the option of an existing alias to `Constant`. | ||
- `Private`:The alias is visible only in the current scope, not in the child | ||
`Constant` is available only when you create an alias. You cannot change the option of an existing | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is wrapped improperly. |
||
alias to `Constant`. - `Private`:The alias is visible only in the current scope, not in the child | ||
scopes. | ||
- `ReadOnly`:The properties of the alias cannot be changed except by using the | ||
`-Force` parameter. You can use `Remove-Item` to delete the alias. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,9 @@ PS> 7, 8, 9 -gt 8 | |
``` | ||
|
||
> [!NOTE] | ||
> This should not to be confused with `>`, the greater-than operator in many other programming languages. In PowerShell, `>` is used for redirection. For more information, see [About_redirection](about_Redirection.md#potential-confusion-with-comparison-operators). | ||
> This should not to be confused with `>`, the greater-than operator in many other programming | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is wrapped improperly. |
||
> languages. In PowerShell, `>` is used for redirection. For more information, see | ||
[About_redirection](about_Redirection.md#potential-confusion-with-comparison-operators). | ||
|
||
#### -ge | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ online version: https://go.microsoft.com/fwlink/?linkid=834944 | |
# Environment provider | ||
|
||
## Provider name | ||
|
||
Environment | ||
|
||
## Drives | ||
|
@@ -20,19 +21,21 @@ Environment | |
**ShouldProcess** | ||
|
||
## Short description | ||
|
||
Provides access to the Windows environment variables. | ||
|
||
## Detailed description | ||
|
||
The PowerShell **Environment** provider lets you get, add, change, clear, and delete environment | ||
variables and values in PowerShell. | ||
|
||
**Environment** variables are dynamically named variables that describe the environment in which your programs run. Windows and PowerShell use environment variables to store persistent information that affect system | ||
and process execution. Unlike PowerShell variables, environment variables are not subject to scope constraints. | ||
**Environment** variables are dynamically named variables that describe the environment in which | ||
your programs run. Windows and PowerShell use environment variables to store persistent information | ||
that affect system | ||
and process execution. Unlike PowerShell variables, environment variables are not subject to scope | ||
constraints. | ||
|
||
The **Environment** drive is a flat namespace containing the environment variables specific to the current user's session. The environment variables | ||
have no child items. | ||
The **Environment** drive is a flat namespace containing the environment variables specific to the | ||
current user's session. The environment variables have no child items. | ||
|
||
The **Environment** provider supports the following cmdlets, which are covered | ||
in this article. | ||
|
@@ -71,7 +74,8 @@ Set-Location C: | |
``` | ||
|
||
You can also work with the **Environment** provider from any other PowerShell | ||
drive. To reference an environment variable from another location, use the drive name `Env:` in the path. | ||
drive. To reference an environment variable from another location, use the drive name `Env:` in the | ||
path. | ||
|
||
The **Environment** provider also exposes environment variables using a variable | ||
prefix of `$env:`. The following command views the contents of the | ||
|
@@ -91,8 +95,8 @@ session for as long as it is active. | |
> PowerShell uses aliases to allow you a familiar way to work with provider | ||
> paths. Commands such as `dir` and `ls` are now aliases for | ||
> [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md), | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and `pwd` is | ||
> an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and | ||
> `pwd` is > an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the line wrapping. |
||
|
||
## Getting environment variables | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ online version: http://go.microsoft.com/fwlink/?LinkId=821468 | |
# FileSystem provider | ||
|
||
## Provider name | ||
|
||
FileSystem | ||
|
||
## Drives | ||
|
@@ -20,7 +21,6 @@ FileSystem | |
**Filter**, **ShouldProcess** | ||
|
||
## Short description | ||
|
||
Provides access to files and directories. | ||
|
||
## Detailed description | ||
|
@@ -56,8 +56,8 @@ in this article. | |
|
||
## Types exposed by this provider | ||
|
||
Files are instances of the [System.IO.FileInfo](/dotnet/api/system.io.fileinfo) class. Directories are | ||
instances of the [System.IO.DirectoryInfo](/dotnet/api/system.io.directoryinfo) class. | ||
Files are instances of the [System.IO.FileInfo](/dotnet/api/system.io.fileinfo) class. Directories | ||
are instances of the [System.IO.DirectoryInfo](/dotnet/api/system.io.directoryinfo) class. | ||
|
||
## Navigating the FileSystem drives | ||
|
||
|
@@ -71,14 +71,15 @@ Set-Location C: | |
``` | ||
|
||
You can also work with the **FileSystem** provider from any other PowerShell | ||
drive. To reference a file or directory from another location, use the drive name (`C:`, `D:`, ...) in the path. | ||
drive. To reference a file or directory from another location, use the drive name (`C:`, `D:`, ...) | ||
in the path. | ||
|
||
> [!NOTE] | ||
> PowerShell uses aliases to allow you a familiar way to work with provider | ||
> paths. Commands such as `dir` and `ls` are now aliases for | ||
> [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md), | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and `pwd` is | ||
> an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the line wrapping. |
||
> `pwd` is > an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
|
||
## Getting files and directories | ||
|
||
|
@@ -521,7 +522,8 @@ parameter. To exclude files, use the `-Directory` parameter and omit the | |
|
||
### Hidden \<System.Management.Automation.SwitchParameter\> | ||
|
||
Gets only hidden files and directories (folders). By default, [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md) gets only non-hidden items. | ||
Gets only hidden files and directories (folders). By default, [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md) gets only non-hidden | ||
items. | ||
|
||
The `-Hidden` parameter was introduced in Windows PowerShell 3.0. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ online version: http://go.microsoft.com/fwlink/?LinkId=834961 | |
# Function provider | ||
|
||
## Provider name | ||
|
||
Function | ||
|
||
## Drives | ||
|
@@ -20,7 +21,6 @@ Function | |
**ShouldProcess** | ||
|
||
## Short description | ||
|
||
Provides access to the functions defined in PowerShell. | ||
|
||
## Detailed description | ||
|
@@ -80,8 +80,8 @@ drive. To reference an function from another location, use the drive name | |
> PowerShell uses aliases to allow you a familiar way to work with provider | ||
> paths. Commands such as `dir` and `ls` are now aliases for | ||
> [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-ChildItem.md), | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and `pwd` is | ||
> an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
> `cd` is an alias for [Set-Location](../../Microsoft.PowerShell.Management/Set-Location.md). and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the line wrapping. |
||
> `pwd` is > an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). | ||
|
||
## Getting functions | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrapped improperly.