Skip to content

Latest commit

 

History

History
107 lines (82 loc) · 2.07 KB

File metadata and controls

107 lines (82 loc) · 2.07 KB
external help file PSPublishModule-help.xml
Module Name PSPublishModule
online version https://github.com/EvotecIT/PSPublishModule
schema 2.0.0

Assert-BenchmarkPath

SYNOPSIS

Asserts that a benchmark path exists or does not exist.

SYNTAX

__AllParameterSets

Assert-BenchmarkPath [-Path] <string> [-Not] [-Message <string>] [-PassThru] [<CommonParameters>]

DESCRIPTION

Asserts that a benchmark path exists or does not exist.

EXAMPLES

EXAMPLE 1

Assert-BenchmarkPath -Path 'C:\Path'

PARAMETERS

-Message

Optional assertion message.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Not

Assert that the path does not exist.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-PassThru

Emit the resolved path when the assertion passes.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Path

Path to validate.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

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.String

RELATED LINKS

  • None