Skip to content

si-kotic/Launch-PSSession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Launch-PSSession

Launch-PSSession repackages the native powershell cmdlet Enter-PSSession, allowing you to specify a new background colour for the console. It automatically chooses an appropriate text colour for the specified background colour.

Usage

Parameters

ComputerName

The computer to which you wish to create a new Remote PSSession.

Argument Value
Type String
Position Named
Default value None
Accept pipeline input False
Accept wildcard characters False
Mandatory True

BackgroundColour

Choose a background colour for the console. You can choose from the following options:

  • Black
  • DarkBlue
  • DarkGreen
  • DarkCyan
  • DarkRed
  • DarkYellow
  • Gray
  • DarkGray
Argument Value
Type String
Position Named
Default value None
Accept pipeline input False
Accept wildcard characters False
Mandatory False

Syntax

Launch-PSSession -ComputerName myserver.example.com -BackgroundColour DarkRed

About

Connect to Remote PSSessions while changing the background colour and Window Title of the console in order to easily identify which machine you are connected to.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors