< Back
Test-PSFTaskEngineTask
Post
NAME Test-PSFTaskEngineTask
SYNOPSIS
Tests, whether the specified task has already been executed.
SYNTAX
Test-PSFTaskEngineTask [-Name] <String> [<CommonParameters>]
DESCRIPTION
Tests, whether the specified task has already been executed.
Returns false, if the task doesn't exist.
PARAMETERS
-Name <String>
Name of the task 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-PSFTaskEngineTask -Name 'mymodule.maintenance'
Returns, whether the task named 'mymodule.maintenance' has already been executed at least once.
RELATED LINKS
SYNOPSIS
Tests, whether the specified task has already been executed.
SYNTAX
Test-PSFTaskEngineTask [-Name] <String> [<CommonParameters>]
DESCRIPTION
Tests, whether the specified task has already been executed.
Returns false, if the task doesn't exist.
PARAMETERS
-Name <String>
Name of the task 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-PSFTaskEngineTask -Name 'mymodule.maintenance'
Returns, whether the task named 'mymodule.maintenance' has already been executed at least once.
RELATED LINKS