< Back
Test-ODUProjectDeployWindowsService
Post
NAME Test-ODUProjectDeployWindowsService
SYNOPSIS
Returns true if Project contains deploy step(s) for Windows Service
SYNTAX
Test-ODUProjectDeployWindowsService [-Project] <Object> [<CommonParameters>]
DESCRIPTION
Returns true if Project contains one or more deploy steps for Windows Service,
specifically ActionType of Octopus.WindowsService
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-ODUProjectDeployWindowsService $MyWebProject
$false
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-ODUProjectDeployWindowsService $MyWinServiceProject
$true
RELATED LINKS
https://github.com/DTW-DanWard/OctopusDeployUtilities
SYNOPSIS
Returns true if Project contains deploy step(s) for Windows Service
SYNTAX
Test-ODUProjectDeployWindowsService [-Project] <Object> [<CommonParameters>]
DESCRIPTION
Returns true if Project contains one or more deploy steps for Windows Service,
specifically ActionType of Octopus.WindowsService
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-ODUProjectDeployWindowsService $MyWebProject
$false
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-ODUProjectDeployWindowsService $MyWinServiceProject
$true
RELATED LINKS
https://github.com/DTW-DanWard/OctopusDeployUtilities