diff --git a/reference/6/Microsoft.PowerShell.Core/About/About.md b/reference/6/Microsoft.PowerShell.Core/About/About.md index 8db22fcdee84..93ecf72abaf6 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/About.md +++ b/reference/6/Microsoft.PowerShell.Core/About/About.md @@ -17,340 +17,472 @@ About topics cover a ranges of concepts about PowerShell. ## About Topics ### [about_Alias_Provider](about_Alias_Provider.md) + Describes the features of the Alias provider. ### [about_Aliases](about_Aliases.md) + Describes how to use alternate names for cmdlets and commands in PowerShell. ### [about_Arithmetic_Operators](about_Arithmetic_Operators.md) + Describes the operators that perform arithmetic in PowerShell. ### [about_Arrays](about_Arrays.md) + Describes arrays, which are data structures designed to store collections of items. ### [about_Assignment_Operators](about_Assignment_Operators.md) + Describes how to use operators to assign values to variables. ### [about_Automatic_Variables](about_Automatic_Variables.md) -Describes variables that store state information for PowerShell. These variables are created and maintained by PowerShell. + +Describes variables that store state information for PowerShell. These variables are created and +maintained by PowerShell. ### [about_Break](about_Break.md) + Describes a statement you can use to immediately exit Foreach, For, While, Do, or Switch statements. ### [about_CimSession](about_CimSession.md) + Describes a CimSession object and the difference between CIM sessions and PowerShell sessions. ### [about_Classes](about_Classes.md) + Describes how you can use classes to create your own custom types. ### [about_Command_Precedence](about_Command_Precedence.md) + Describes how PowerShell determines which command to run. ### [about_Command_Syntax](about_Command_Syntax.md) + Describes the syntax diagrams that are used in PowerShell. ### [about_Comment_Based_Help](about_Comment_Based_Help.md) + Describes how to write comment-based help topics for functions and scripts. ### [about_CommonParameters](about_CommonParameters.md) + Describes the parameters that can be used with any cmdlet. ### [about_Comparison_Operators](about_Comparison_Operators.md) + Describes the operators that compare values in PowerShell. ### [about_Continue](about_Continue.md) -Describes how the `Continue` statement immediately returns the program flow to the top of a program loop. + +Describes how the `Continue` statement immediately returns the program flow to the top of a program +loop. ### [about_Core_Commands](about_Core_Commands.md) + Lists the cmdlets that are designed for use with PowerShell providers. ### [about_Data_Sections](about_Data_Sections.md) + Explains Data sections, which isolate text strings and other read-only data from script logic. ### [about_Debuggers](about_Debuggers.md) + Describes the PowerShell debugger. ### [about_Do](about_Do.md) + Runs a statement list one or more times, subject to a While or Until condition. ### [about_Enum](about_Enum.md) -The `enum` statement is used to declare an enumeration. An enumeration is a distinct type that consists of a set of named labels called the enumerator list. + +The `enum` statement is used to declare an enumeration. An enumeration is a distinct type that +consists of a set of named labels called the enumerator list. ### [about_Environment_Provider](about_Environment_Provider.md) + Describes the features of the Environment provider. ### [about_Environment_Variables](about_Environment_Variables.md) + Describes how to access Windows environment variables in PowerShell. ### [about_Execution_Policies](about_Execution_Policies.md) + Describes the PowerShell execution policies and explains how to manage them. ### [about_Experimental_Features](about_Experimental_Features.md) + Describes how to use the Experimental Features of PowerShell. ### [about_FileSystem_Provider](about_FileSystem_Provider.md) + Describes the features of the FileSystem provider. ### [about_For](about_For.md) + Describes a language command you can use to run statements based on a conditional test. ### [about_Foreach](about_Foreach.md) + Describes a language command you can use to traverse all the items in a collection of items. ### [about_Format.ps1xml](about_Format.ps1xml.md) -The `Format.ps1xml` files in PowerShell define the default display of objects in the PowerShell console. + +The `Format.ps1xml` files in PowerShell define the default display of objects in the PowerShell +console. ### [about_Function_Provider](about_Function_Provider.md) + Describes the features of the Function provider. ### [about_Functions](about_Functions.md) + Describes how to create and use functions in PowerShell. ### [about_Functions_Advanced](about_Functions_Advanced.md) + Introduces advanced functions that act similar to cmdlets. ### [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) -Describes how functions that specify the `CmdletBinding` attribute can use the methods and properties that are available to compiled cmdlets. + +Describes how functions that specify the `CmdletBinding` attribute can use the methods and +properties that are available to compiled cmdlets. ### [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md) + Explains how to add parameters to advanced functions. ### [about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md) + Describes the attribute that makes a function work like a compiled cmdlet. ### [about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md) + Describes an attribute that reports the type of object that the function returns. ### [about_Group_Policy_Settings](about_Group_Policy_Settings.md) + Describes the Group Policy settings for PowerShell. ### [about_Hash_Tables](about_Hash_Tables.md) + Describes how to create, use, and sort hash tables in PowerShell. ### [about_hidden](about_hidden.md) + Describes the Hidden keyword, which hides class members from default Get-Member results. ### [about_History](about_History.md) + Describes how to get and run commands in the command history. ### [about_If](about_If.md) -Describes a language command you can use to run statement lists based on the results of one or more conditional tests. + +Describes a language command you can use to run statement lists based on the results of one or more +conditional tests. ### [about_Job_Details](about_Job_Details.md) + Provides details about background jobs on local and remote computers. ### [about_Jobs](about_Jobs.md) -Provides information about how PowerShell background jobs run a command or expression in the background without interacting with the current session. + +Provides information about how PowerShell background jobs run a command or expression in the +background without interacting with the current session. ### [about_Join](about_Join.md) + Describes how the join operator (-join) combines multiple strings into a single string. ### [about_Language_Keywords](about_Language_Keywords.md) + Describes the keywords in the PowerShell scripting language. ### [about_Language_Modes](about_Language_Modes.md) + Explains language modes and their effect on PowerShell sessions. ### [about_Line_Editing](about_Line_Editing.md) + Describes how to edit commands at the PowerShell command prompt. ### [about_locations](about_locations.md) + Describes how to access items from the working location in PowerShell. ### [about_Logging_Non-Windows](about_Logging_Non-Windows.md) + PowerShell logs internal operations from the engine, providers, and cmdlets. ### [about_Logging_Windows](about_Logging_Windows.md) + PowerShell logs internal operations from the engine, providers, and cmdlets. ### [about_logical_operators](about_logical_operators.md) + Describes the operators that connect statements in PowerShell. ### [about_Methods](about_Methods.md) + Describes how to use methods to perform actions on objects in PowerShell. ### [about_Modules](about_Modules.md) + Explains how to install, import, and use PowerShell modules. ### [about_Object_Creation](about_Object_Creation.md) + Explains how to create objects in PowerShell. ### [about_Objects](about_Objects.md) + Provides essential information about objects in PowerShell. ### [about_Operator_Precedence](about_Operator_Precedence.md) + Lists the PowerShell operators in precedence order. ### [about_Operators](about_Operators.md) + Describes the operators that are supported by PowerShell. ### [about_PackageManagement](about_PackageManagement.md) + PackageManagement is an aggregator for software package managers. ### [about_Parameters](about_Parameters.md) + Describes how to work with command parameters in PowerShell. ### [about_Parameters_Default_Values](about_Parameters_Default_Values.md) + Describes how to set custom default values for the parameters of cmdlets and advanced functions. ### [about_Parsing](about_Parsing.md) + Describes how PowerShell parses commands. ### [about_Path_Syntax](about_Path_Syntax.md) + Describes the full and relative path name formats in PowerShell. ### [about_pipelines](about_pipelines.md) + Combining commands into pipelines in the PowerShell. ### [about_PowerShell_Config](about_PowerShell_Config.md) + Configuration files for PowerShell Core, replacing Registry configuration. ### [about_PowerShell_Editions](about_PowerShell_Editions.md) + Different editions of PowerShell run on different underlying runtimes. ### [about_Preference_Variables](about_Preference_Variables.md) + Variables that customize the behavior of PowerShell. ### [about_Profiles](about_Profiles.md) + Describes how to create and use a PowerShell profile. ### [about_Prompts](about_Prompts.md) + Describes the Prompt function and demonstrates how to create a custom Prompt function. ### [about_Properties](about_Properties.md) + Describes how to use object properties in PowerShell. ### [about_Providers](about_Providers.md) -Describes how PowerShell providers provide access to data and components that would not otherwise be easily accessible at the command line. + +Describes how PowerShell providers provide access to data and components that would not otherwise be +easily accessible at the command line. ### [about_psconsolehostreadline](about_psconsolehostreadline.md) + Explains how to create a customize how PowerShell reads input at the console prompt. ### [about_PSSession_Details](about_PSSession_Details.md) + Provides detailed information about PowerShell sessions and the role they play in remote commands. ### [about_PSSessions](about_PSSessions.md) -Describes PowerShell sessions (PSSessions) and explains how to establish a persistent connection to a remote computer. + +Describes PowerShell sessions (PSSessions) and explains how to establish a persistent connection to +a remote computer. ### [about_pwsh](about_pwsh.md) -Explains how to use the pwsh command-line tool. Displays the syntax and describes the command-line switches. pwsh starts a PowerShell session. + +Explains how to use the pwsh command-line tool. Displays the syntax and describes the command-line +switches. pwsh starts a PowerShell session. ### [about_Quoting_Rules](about_Quoting_Rules.md) + Describes rules for using single and double quotation marks in PowerShell. ### [about_Redirection](about_Redirection.md) + Explains how to redirect output from PowerShell to text files. ### [about_Ref](about_Ref.md) -Describes how to create and use a reference type variable. You can use reference type variables to permit a function to change the value of a variable that is passed to it. + +Describes how to create and use a reference type variable. You can use reference type variables to +permit a function to change the value of a variable that is passed to it. ### [about_Registry_Provider](about_Registry_Provider.md) + Describes the features of the Registry provider. ### [about_Regular_Expressions](about_Regular_Expressions.md) + Describes regular expressions in PowerShell. ### [about_Remote](about_Remote.md) + Describes how to run remote commands in PowerShell. ### [about_Remote_Disconnected_Sessions](about_Remote_Disconnected_Sessions.md) + Explains how to disconnect from and reconnect to a PSSession. ### [about_Remote_FAQ](about_Remote_FAQ.md) + Contains questions and answers about running remote commands in PowerShell. ### [about_Remote_Jobs](about_Remote_Jobs.md) + Describes how to run background jobs on remote computers. ### [about_Remote_Output](about_Remote_Output.md) + Describes how to interpret and format the output of remote commands. ### [about_Remote_Requirements](about_Remote_Requirements.md) -Describes the system requirements and configuration requirements for running remote commands in PowerShell. + +Describes the system requirements and configuration requirements for running remote commands in +PowerShell. ### [about_Remote_Troubleshooting](about_Remote_Troubleshooting.md) + Describes how to troubleshoot remote operations in PowerShell. ### [about_Remote_Variables](about_Remote_Variables.md) + Explains how to use local and remote variables in remote commands. ### [about_Requires](about_Requires.md) + Prevents a script from running without the required elements. ### [about_Reserved_Words](about_Reserved_Words.md) -Lists the reserved words that cannot be used as identifiers because they have a special meaning in PowerShell. + +Lists the reserved words that cannot be used as identifiers because they have a special meaning in +PowerShell. ### [about_Return](about_Return.md) + Exits the current scope, which can be a function, script, or script block. ### [about_Run_With_PowerShell](about_Run_With_PowerShell.md) + Explains how to use the "Run with PowerShell" feature to run a script from a file system drive. ### [about_Scopes](about_Scopes.md) + Explains the concept of scope in PowerShell and shows how to set and change the scope of elements. ### [about_Script_Blocks](about_Script_Blocks.md) -Defines what a script block is and explains how to use script blocks in the PowerShell programming language. + +Defines what a script block is and explains how to use script blocks in the PowerShell programming +language. ### [about_Script_Internationalization](about_Script_Internationalization.md) -Describes the script internationalization features that make it easy for scripts to display messages and instructions to users in their user interface (UI) language. + +Describes the script internationalization features that make it easy for scripts to display messages +and instructions to users in their user interface (UI) language. ### [about_Scripts](about_Scripts.md) + Describes how to run and write scripts in PowerShell. ### [about_Session_Configuration_Files](about_Session_Configuration_Files.md) -Describes session configuration files, which are used in a session configuration (also known as an "endpoint") to define the environment of sessions that use the session configuration. + +Describes session configuration files, which are used in a session configuration (also known as an +"endpoint") to define the environment of sessions that use the session configuration. ### [about_Session_Configurations](about_Session_Configurations.md) -Describes session configurations, which determine the users who can connect to the computer remotely and the commands they can run. + +Describes session configurations, which determine the users who can connect to the computer remotely +and the commands they can run. ### [about_Signing](about_Signing.md) + Explains how to sign scripts so that they comply with the PowerShell execution policies. ### [about_simplified_syntax](about_simplified_syntax.md) + Describes easier, more natural-language ways of scripting filters for collections of objects. ### [about_Special_Characters](about_Special_Characters.md) -Describes the special characters that you can use to control how PowerShell interprets the next character in a command or parameter. + +Describes the special characters that you can use to control how PowerShell interprets the next +character in a command or parameter. ### [about_Splatting](about_Splatting.md) + Describes how to use splatting to pass parameters to commands in PowerShell. ### [about_Split](about_Split.md) + Explains how to use the Split operator to split one or more strings into substrings. ### [about_Switch](about_Switch.md) + Explains how to use a switch to handle multiple If statements. ### [about_Throw](about_Throw.md) + Describes the Throw keyword, which generates a terminating error. ### [about_Trap](about_Trap.md) + Describes a keyword that handles a terminating error. ### [about_Try_Catch_Finally](about_Try_Catch_Finally.md) + Describes how to use the `Try`, `Catch`, and `Finally` blocks to handle terminating errors. ### [about_Type_Operators](about_Type_Operators.md) + Describes the operators that work with Microsoft .NET Framework types. ### [about_Types.ps1xml](about_Types.ps1xml.md) + Explains how to use Types.ps1xml files to extend the types of objects that are used in PowerShell. ### [about_Updatable_Help](about_Updatable_Help.md) + Describes the updatable help system in PowerShell. ### [About_Using](About_Using.md) + Allows to indicate which namespaces are used in the session. ### [about_Variable_Provider](about_Variable_Provider.md) + Describes the features of the Variable provider. ### [about_Variables](about_Variables.md) + Describes how variables store values that can be used in PowerShell. ### [about_While](about_While.md) -Describes a language statement that you can use to run a command block based on the results of a conditional test. + +Describes a language statement that you can use to run a command block based on the results of a +conditional test. ### [about_Wildcards](about_Wildcards.md) -Describes how to use wildcard characters in PowerShell. + +Describes how to use wildcard characters in PowerShell. \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md b/reference/6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md index 01ab779168f7..e25c026ce0c1 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md @@ -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 +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. diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md b/reference/6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md index f7fc9fe9ceb3..386089e38b27 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md @@ -865,4 +865,4 @@ Default (Current): End - [about_Hash_Tables](about_Hash_Tables.md) - [about_Preference_Variables](about_Preference_Variables.md) -- [about_Variables](about_Variables.md) +- [about_Variables](about_Variables.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_CimSession.md b/reference/6/Microsoft.PowerShell.Core/About/about_CimSession.md index 4714d7eb46c5..df817cc4f70c 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_CimSession.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_CimSession.md @@ -18,8 +18,8 @@ represents a connection to a local computer or a remote computer. You can use CIM sessions as an alternative to PowerShell sessions (PSSessions). Both approaches have advantages. -You can use the [New-CimSession](../../CimCmdlets/New-CimSession.md) cmdlet to create a CIM session that contains -information about a connection, such as computer name, the protocol used +You can use the [New-CimSession](../../CimCmdlets/New-CimSession.md) cmdlet to create a CIM session +that contains information about a connection, such as computer name, the protocol used for the connection, session ID, and instance ID. After you create a CimSession object that specifies information required to diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Command_Precedence.md b/reference/6/Microsoft.PowerShell.Core/About/about_Command_Precedence.md index a964775ebb4b..a561d937904b 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Command_Precedence.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Command_Precedence.md @@ -245,7 +245,8 @@ it with a call to [Get-ChildItem](../../Microsoft.PowerShell.Management/Get-Chil (the alias is "dir"), `Get-Command` or [Get-Module](../../Microsoft.PowerShell.Core/Get-Module.md). -The call operator executes strings and script blocks in a child scope. For more information, see [about_Operators](about_Operators.md). +The call operator executes strings and script blocks in a child scope. For more information, see +[about_Operators](about_Operators.md). For example, if you have a function named `Map` that is hidden by an alias named `Map`, use the following command to run the function. diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_CommonParameters.md b/reference/6/Microsoft.PowerShell.Core/About/about_CommonParameters.md index f397de4bb797..c425696dd5ea 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_CommonParameters.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_CommonParameters.md @@ -8,7 +8,6 @@ title: about_CommonParameters # About CommonParameters ## SHORT DESCRIPTION - Describes the parameters that can be used with any cmdlet. ## LONG DESCRIPTION @@ -528,4 +527,4 @@ about_Common_Parameters [Write-Error](../../Microsoft.PowerShell.Utility/Write-Error.md) -[Write-Verbose](../../Microsoft.PowerShell.Utility/Write-Verbose.md) +[Write-Verbose](../../Microsoft.PowerShell.Utility/Write-Verbose.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md b/reference/6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md index c6fba6f2b79a..18a8237bb5c4 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md @@ -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 +> languages. In PowerShell, `>` is used for redirection. For more information, see +[About_redirection](about_Redirection.md#potential-confusion-with-comparison-operators). #### -ge diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Environment_Provider.md b/reference/6/Microsoft.PowerShell.Core/About/about_Environment_Provider.md index ddbdbbf578f1..11115f902040 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Environment_Provider.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Environment_Provider.md @@ -9,6 +9,7 @@ online version: https://go.microsoft.com/fwlink/?linkid=834944 # Environment provider ## Provider name + Environment ## Drives @@ -20,7 +21,6 @@ Environment **ShouldProcess** ## Short description - Provides access to the Windows environment variables. ## Detailed description @@ -28,11 +28,14 @@ Provides access to the Windows environment variables. 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). ## Getting environment variables diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Execution_Policies.md b/reference/6/Microsoft.PowerShell.Core/About/about_Execution_Policies.md index 17cbb9cc1070..95feb85bbe77 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Execution_Policies.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Execution_Policies.md @@ -5,11 +5,9 @@ locale: en-us keywords: powershell,cmdlet title: about_Execution_Policies --- - # About Execution Policies ## Short Description - Describes the PowerShell execution policies and explains how to manage them. ## Long Description @@ -368,4 +366,4 @@ and [Unblock-File](../../Microsoft.PowerShell.Utility/Unblock-File.md). [Set-ExecutionPolicy](../../Microsoft.PowerShell.Security/Set-ExecutionPolicy.md) -[Unblock-File](../../Microsoft.PowerShell.Utility/Unblock-File.md) +[Unblock-File](../../Microsoft.PowerShell.Utility/Unblock-File.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md b/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md index 414f8397cdb0..9d195d31ec27 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md @@ -166,4 +166,4 @@ if ([ExperimentalFeature]::IsEnabled("MyExperimentalFeature")) [Disable-ExperimentalFeature](../Disable-ExperimentalFeature.md) -[Get-ExperimentalFeature](../Get-ExperimentalFeature.md) +[Get-ExperimentalFeature](../Get-ExperimentalFeature.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md b/reference/6/Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md index c7ff68d376a6..f56643c79885 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md @@ -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 +> `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 \ -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. diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_For.md b/reference/6/Microsoft.PowerShell.Core/About/about_For.md index 1272615f9750..f667badc612d 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_For.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_For.md @@ -233,4 +233,4 @@ for ($i = 0; $i -lt 10; $i++) { Write-Host $i } [about_Comparison_Operators](about_Comparison_Operators.md) -[about_Foreach](about_Foreach.md) +[about_Foreach](about_Foreach.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Foreach.md b/reference/6/Microsoft.PowerShell.Core/About/about_Foreach.md index b4bfd224b2c3..89bc6c3544da 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Foreach.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Foreach.md @@ -227,4 +227,4 @@ function Get-FunctionPosition { [about_If](about_If.md) -[ForEach-Object](../ForEach-Object.md) +[ForEach-Object](../ForEach-Object.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Function_Provider.md b/reference/6/Microsoft.PowerShell.Core/About/about_Function_Provider.md index a6d731c38fdc..0ebdaf4d1727 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Function_Provider.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Function_Provider.md @@ -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 +> `pwd` is > an alias for [Get-Location](../../Microsoft.PowerShell.Management/Get-Location.md). ## Getting functions diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Functions.md b/reference/6/Microsoft.PowerShell.Core/About/about_Functions.md index a90c198cdd4a..61d25f3bc5cd 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Functions.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Functions.md @@ -622,4 +622,4 @@ methods: [about_Script_Blocks](about_Script_Blocks.md) -[about_Function_provider](about_Function_provider.md) +[about_Function_provider](about_Function_provider.md) \ No newline at end of file diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md b/reference/6/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md index b5d8a53c5f61..e7d53cd021f7 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md @@ -25,7 +25,8 @@ the following methods: All the methods and properties of the `PSCmdlet` class are available to advanced functions. For more information about these methods and properties, -see [`System.Management.Automation.PSCmdlet`](https://go.microsoft.com/fwlink/?LinkId=142139) in the MSDN library. +see [`System.Management.Automation.PSCmdlet`](https://go.microsoft.com/fwlink/?LinkId=142139) in the +MSDN library. ### Input Processing Methods diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_Logging_Windows.md b/reference/6/Microsoft.PowerShell.Core/About/about_Logging_Windows.md index 2af4473fd2ef..3988753f791f 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_Logging_Windows.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_Logging_Windows.md @@ -56,7 +56,8 @@ To unregister the PowerShell provider, run the following command from an elevate $PSHOME\RegisterManifest.ps1 -Unregister ``` -After updating PowerShell, run `$PSHOME\RegisterManifest.ps1` to register the updated event provider. +After updating PowerShell, run `$PSHOME\RegisterManifest.ps1` to register the updated event +provider. ## Enabling Script Block Logging