Test-SystemOnline

SYNOPSIS

Does basic checks for connecting to a remote device

SYNTAX

Test-SystemOnline [[-ComputerName] <String[]>] [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

Does basic checks for connecting to a remote device

EXAMPLES

EXAMPLE 1

Test-SystemOnline -ComputerName $ListOfBoxes -Credential $User

PARAMETERS

-ComputerName

The Device to query.

Type: String[]
Parameter Sets: (All)
Aliases: Name, DNSHostName

Required: False
Position: 1
Default value: $env:COMPUTERNAME
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Credential

Use another account to do the checks.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object[]

NOTES