Exchange Management Shell reference
This appendix provides additional information related to the Exchange Management Shell (EMS). You can use this section as a reference to find commonly-used automatic shell variables and type accelerators, along with a list of commonly-used EMS scripts that are installed with Exchange 2016. Additionally, common filterable properties supported by EMS cmdlets that include filter parameters are outlined in detail.
Commonly-used shell variables
PowerShell and the Exchange Management Shell provide several automatic variables. The following table provides a list of commonly-used automatic variables with a description for each one:
Variable Name | Description |
---|---|
| This contains the last token in the last command received. |
| This contains the execution status of the last command. |
| This contains the first token in the last command received. |
| This contains the current object being processed within a pipeline. |
| This contains an array of undeclared arguments received by a... |