About topics cover a range of concepts about PowerShell.
Provides access to the PowerShell aliases and the values that they represent.
Describes how to use alternate names for cmdlets and commands in PowerShell.
Describes the support available for ANSI escape sequences in Windows PowerShell.
Describes the operators that perform arithmetic in PowerShell.
Describes arrays, which are data structures designed to store collections of items.
Describes how to use operators to assign values to variables.
Describes variables that store state information for PowerShell. These variables are created and maintained by PowerShell.
Describes how boolean expressions are evaluated.
Describes a the
break statement, which provides a way to exit the current control block.
Describes the built-in functions in PowerShell.
PowerShell provides the ability to dynamically add new properties and alter the formatting of objects output to the pipeline.
A generic method is a method with two parameter lists: a list of generic types and a list of method arguments. The following examples show the new PowerShell syntax for accessing a generic method:
Syntax # static generic methods [type_name]::MethodName[generic_type_arguments](method_arguments) # instance generic methods $object.MethodName[generic_type_arguments](method_arguments) The
generic_type_arguments can be a a single type or comma-separated list of types, like
[string, int], including other generic types like
$obj.MethodName[string, System.Collections.Generic.Dictionary[string, int]]() The
method_arguments can be zero or more items. For more information, see Generics in .NET.
PowerShell is as case-insensitive as possible while preserving case.
Describes how PowerShell uses character encoding for input and output of string data.
Describes a CimSession object and the difference between CIM sessions and PowerShell sessions.
Describes how you can use classes to create your own custom types.
Describes how to define constructors for PowerShell classes.
Describes how you can define classes that extend other types.
Describes how to define methods for PowerShell classes.
Describes how to define properties for PowerShell classes.
Describes how PowerShell determines which command to run.
Describes the syntax diagrams that are used in PowerShell.
Describes how to write comment-based help topics for functions and scripts.
Describes the parameters that can be used with any cmdlet.
The comparison operators in PowerShell can either compare two values or filter elements of a collection against an input value.
Describes how the
continue statement immediately returns the program flow to the top of a program loop, a
switch statement, or a
Lists the cmdlets that are designed for use with PowerShell providers.
PowerShell data files are used to store arbitrary data using PowerShell syntax.
Explains Data sections, which isolate text strings and other read-only data from script logic.
Describes the PowerShell debugger.
Runs a statement list one or more times, subject to a
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.
Provides access to the Windows environment variables.
Describes how to access and manage environment variables in PowerShell.
Describes the PowerShell execution policies and explains how to manage them.
Experimental attribute to declare some code as experimental. Use the following syntax to declare the
Experimental attribute providing the name of the experimental feature and the action to take if the experimental feature is enabled:
csharp [Experimental(NameOfExperimentalFeature, ExperimentAction)] For modules, the
NameOfExperimentalFeature must follow the form of
ExperimentAction parameter must be specified and the only valid values are: -
Show means to show this experimental feature if the feature is enabled -
Hide means to hide this experimental feature if the feature is enabled
Provides access to files and directories.
Describes a language command you can use to run statements based on a conditional test.
Describes a language command you can use to traverse all the items in a collection of items.
Format.ps1xml files in PowerShell define the default display of objects in the PowerShell console.
Provides access to the functions defined in PowerShell.
Describes how functions that specify the
CmdletBinding attribute can use the methods and properties that are available to compiled cmdlets.
Explains how to add parameters to advanced functions.
Introduces advanced functions that are a way to create cmdlets using scripts.
Argument completion is a feature of PowerShell that provide hints, enables discovery, and speeds up input entry of argument values.
Describes the attribute that makes a function work like a compiled cmdlet.
Describes an attribute that reports the type of object that the function returns.
Describes how to create and use functions in PowerShell.
Describes the Group Policy settings for PowerShell
Describes how to create, use, and sort hashtables in PowerShell.
hidden keyword, which hides class members from default
Describes how to get and run commands in the command history.
Describes a language command you can use to run statement lists based on the results of one or more conditional tests.
Provides information about PowerShell's intrinsic members that are available to all PowerShell objects.
Provides details about background jobs on local and remote computers.
Provides information about how PowerShell background jobs run a command or expression in the background without interacting with the current session.
Describes how the join operator (-join) combines multiple strings into a single string.
Describes the keywords in the PowerShell scripting language.
Explains language modes and their effect on PowerShell sessions.
Describes how to edit commands at the PowerShell command prompt.
Describes how to access items from the working location in PowerShell.
PowerShell logs internal operations from the engine, providers, and cmdlets.
PowerShell logs internal operations from the engine, providers, and cmdlets to the Windows event log.
Describes the operators that connect statements in PowerShell.
Describes the automatic enumeration of list collection items when using the member-access operator.
Describes how to use methods to perform actions on objects in PowerShell.
Describes the settings and practices for writing module manifest files.
Explains how to install, import, and use PowerShell modules.
This article describes the syntax and usage of numeric values in PowerShell.
Explains how to create objects in PowerShell.
Provides essential information about objects in PowerShell.
Lists the PowerShell operators in precedence order.
Describes the operators that are supported by PowerShell.
Explains the availability and purpose of output streams in PowerShell.
PackageManagement is an aggregator for software package managers.
Describes how to define and use parameter sets in advanced functions.
Describes how to set custom default values for cmdlet parameters and advanced functions.
Describes how to work with command parameters in PowerShell.
Describes how PowerShell parses commands.
Describes the full and relative path formats in PowerShell.
Describes chaining pipelines with the
|| operators in PowerShell.
Combining commands into pipelines in the PowerShell
Configuration files for PowerShell, replacing Registry configuration.
Different editions of PowerShell run on different underlying runtimes.
Variables that customize the behavior of PowerShell.
Describes how to create and use a PowerShell profile.
Prompt function and demonstrates how to create a custom
Describes how to use object properties in PowerShell.
Describes how PowerShell providers provide access to data and components that wouldn't otherwise be easily accessible at the command line. The data is presented in a consistent format that resembles a file system drive.
Explains how to create a customize how PowerShell reads input at the console prompt.
Explains the differences between the
[pscustomobject] type accelerators.
The automatic variable that contains the current object in the pipeline object.
This article the purpose and usage of the
$env:PSModulePath environment variable.
Provides detailed information about PowerShell sessions and the role they play in remote commands.
Describes PowerShell sessions (PSSessions) and explains how to establish a persistent connection to a remote computer.
Explains how to use the
pwsh command-line interface. Displays the command-line parameters and describes the syntax.
Describes rules for using single and double quotation marks in PowerShell.
Explains how to redirect output from PowerShell to text files.
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 regular expressions in PowerShell.
Explains how to disconnect and reconnect to a PowerShell Session (PSSession).
Describes how to run jobs on remote computers.
Describes how to interpret and format the output of remote commands.
Describes the system requirements and configuration requirements for running remote commands in PowerShell.
Describes how to troubleshoot remote operations in PowerShell.
Explains how to use local and remote variables in remote commands.
Describes how to run remote commands in PowerShell.
Prevents a script from running without the required elements.
Lists the reserved words that cannot be used as identifiers because they have a special meaning in PowerShell.
Exits the current scope, which can be a function, script, or script block.
Explains how to use the "Run with PowerShell" feature to run a script from a file system drive.
Explains the concept of scope in PowerShell and shows how to set and change the scope of elements.
Defines what a script block is and explains how to use script blocks in the PowerShell programming 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.
Describes how to run and write scripts in PowerShell.
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 configurations, which determine the users who can connect to the computer remotely and the commands they can run.
Explains how to sign scripts so that they comply with the PowerShell execution policies.
Describes easier, more natural-language ways of scripting filters for collections of objects.
Describes the special character sequences that control how PowerShell interprets the next characters in the sequence.
Describes how to use splatting to pass parameters to commands in PowerShell.
Explains how to use the Split operator to split one or more strings into substrings.
Explains how to use a switch to handle multiple
PowerShell provides completions on input to provide hints, enable discovery, and speed up input entry. Command names, parameter names, argument values and file paths can all be completed by pressing the Tab key.
Describes the telemetry collected in PowerShell and how to opt-out.
Provides information about PowerShell thread-based jobs. A thread job is a type of background job that runs a command or expression in a separate thread within the current session process.
throw keyword that generates a terminating error.
Describes a keyword that handles a terminating error.
Describes how to use the
finally blocks to handle terminating errors.
Describes the Type accelerators available for .NET framework classes
Describes the operators that work with Microsoft .NET types.
Explains how to use
Types.ps1xml files to extend the types of objects that are used in PowerShell.
Describes the updatable help system in PowerShell.
Notifies users on startup of PowerShell that a new version of PowerShell has been released.
Allows you to indicate which namespaces are used in the session.
Describes how variables store values that can be used in PowerShell.
Describes a language statement that you can use to run a command block based on the results of a conditional test.
Describes how to use wildcard characters in PowerShell.
Describes the Windows PowerShell Compatibility functionality for PowerShell 7.