< Back
Test-ODUProjectDeployIISSite
Post
NAME Test-ODUProjectDeployIISSite
SYNOPSIS
Returns true if Project contains deploy step(s) for IIS Site
SYNTAX
Test-ODUProjectDeployIISSite [-Project] <Object> [<CommonParameters>]
DESCRIPTION
Returns true if Project contains one or more deploy steps for IIS Site,
specifically ActionType of Octopus.IIS
PARAMETERS
-Project <Object>
Project to test
Required? true
Position? 1
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
System.Boolean
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-ODUProjectDeployIISSite $MyWebProject
$true
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-ODUProjectDeployIISSite $MyWinServiceProject
$false
RELATED LINKS
https://github.com/DTW-DanWard/OctopusDeployUtilities
SYNOPSIS
Returns true if Project contains deploy step(s) for IIS Site
SYNTAX
Test-ODUProjectDeployIISSite [-Project] <Object> [<CommonParameters>]
DESCRIPTION
Returns true if Project contains one or more deploy steps for IIS Site,
specifically ActionType of Octopus.IIS
PARAMETERS
-Project <Object>
Project to test
Required? true
Position? 1
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
System.Boolean
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-ODUProjectDeployIISSite $MyWebProject
$true
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-ODUProjectDeployIISSite $MyWinServiceProject
$false
RELATED LINKS
https://github.com/DTW-DanWard/OctopusDeployUtilities