Search Results for

    Show / Hide Table of Contents

    Test-UscInstanceExists

    SYNOPSIS

    Determines whether an instance exists on the local machine.

    SYNTAX

    Test-UscInstanceExists -InstanceName <String> [-Directory <String>] [<CommonParameters>]
    

    DESCRIPTION

    Use Test-UscInstanceExists to determine whether specified instance exists on the local machine.

    EXAMPLES

    Example 1

    PS C:\> Test-UscInstanceExists -InstanceName 'LSCentral'
    True
    

    This examples returns whether the specified instance exists.

    PARAMETERS

    -Directory

    Specifies an optional alternative client directory.

    Type: String
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -InstanceName

    Specifies the instance name to be tested.

    Type: String
    Parameter Sets: (All)
    Aliases:
    
    Required: True
    Position: Named
    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

    None

    OUTPUTS

    System.Object

    NOTES

    RELATED LINKS

    In this article
    Back to top Generated by DocFX