< Back

Rename-PSISETab

Mon Jan 13, 2020 6:16 am

NAME Rename-PSISETab



SYNOPSIS

Rename a powershell tab.





SYNTAX

Rename-PSISETab [-Name] <String> [-NewName] <String> [<CommonParameters>]



Rename-PSISETab [-Number] <Int32> [-NewName] <String> [<CommonParameters>]



Rename-PSISETab [-Current] <SwitchParameter> [-NewName] <String> [<CommonParameters>]





DESCRIPTION

Rename a powershell tab within ISE.





PARAMETERS

-Name <String>

The name of the tab to rename.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NewName <String>

The new name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Number <Int32>

The number of the tab to rename.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Current [<SwitchParameter>]

Rename the current tab.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES









-------------------------- Example 1 --------------------------



Rename-PSISETab -Name MyTab -NewName MyTab2



This command will rename the MyTab tab to MyTab2.







-------------------------- Example 2 --------------------------



Rename-PSISETab -Current -NewName MyTab



This command will rename the current tab to MyTab2.







-------------------------- Example 3 --------------------------



Rename-PSISETab -TabNumber 1 -NewName MyTab



This command will rename the tab number 1 to MyTab2.









RELATED LINKS