Ctrl+.
or by clicking the light bulb. $PSItem
variable to the $_
variable.$_
variable to $PSItem
.$Parameters
and then passes that hashtable as a splatting expression to the command. Positional arguments are not added to the hashtable.Export-ModuleMember
.param
block.using namespace
statement to the top of a script and replaces the selected type expression with the namespace removed.Ctrl+PageUp
and Ctrl+PageDown
key bindings. Ensure that your cursor is on top of a parameter for a command. Press one of the key bindings. To move a parameter to the right, use Page Up. To move a parameter to the left, use Page Down.