Skip to content

Get-PromptConnectionInfo

SYNOPSIS

Gets a string with current machine name and user name when connected with SSH

SYNTAX

Get-PromptConnectionInfo [[-Format] <Object>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Format

Format string to use for displaying machine name ({0}) and user name ({1}). Default: "[{1}@{0}]: ", i.e. "[user@machine]: "

Type: System.Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: [{1}@{0}]:
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

None

OUTPUTS

[String]

NOTES

Back to top