Search Results for

    Show / Hide Table of Contents

    Register-UscTestScript

    SYNOPSIS

    Registers a test script to be run after package installation.

    SYNTAX

    Register-UscTestScript [[-Path] <String>] [[-Arguments] <String>] [[-SuccessParameterName] <String>]
     [[-ResultFileParameterName] <String>] [-Directory <String>] [<CommonParameters>]
    

    DESCRIPTION

    Registers a test script to be run after package installation.

    PARAMETERS

    -Arguments

    Specifies arguments to pass to the test script.

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

    -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
    

    -Path

    Specifies the path to the test script.

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

    -ResultFileParameterName

    Specifies the name of the parameter that the test script uses to receive the path to the result file.

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

    -SuccessParameterName

    Specifies the name of the parameter that the test script uses to receive the success status.

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