< Back
New-ModulePesterTest
Post
NAME New-ModulePesterTest
SYNOPSIS
Creates a ps1 file that includes a subset of basic pester tests
SYNTAX
New-ModulePesterTest [[-ModuleName] <String>] [[-OutPath] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
As synopsis
PARAMETERS
-ModuleName <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OutPath <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-ModulePesterTests -ModuleName SPCSPS
This will get the SPCSPS module and the path that is asocciated with it and then create a ps1 file that contains a
base level of Pester Tests
RELATED LINKS
SYNOPSIS
Creates a ps1 file that includes a subset of basic pester tests
SYNTAX
New-ModulePesterTest [[-ModuleName] <String>] [[-OutPath] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
As synopsis
PARAMETERS
-ModuleName <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OutPath <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-ModulePesterTests -ModuleName SPCSPS
This will get the SPCSPS module and the path that is asocciated with it and then create a ps1 file that contains a
base level of Pester Tests
RELATED LINKS