< Back
Test-PSFTaskEngineCache
Post
NAME Test-PSFTaskEngineCache
SYNOPSIS
Tests, whether the specified task engine cache-entry has been written.
SYNTAX
Test-PSFTaskEngineCache [-Module] <String> [-Name] <String> [<CommonParameters>]
DESCRIPTION
Tests, whether the specified task engine cache-entry has been written.
PARAMETERS
-Module <String>
The name of the module that generated the task.
Use scriptname in case of using this within a script.
Note: Must be the same as the name used within the task when calling 'Set-PSFTaskEngineCache'
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the task for which the cache is.
Note: Must be the same as the name used within the task when calling 'Set-PSFTaskEngineCache'
Required? true
Position? 2
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-PSFTaskEngineCache -Module 'mymodule' -Name 'maintenancetask'
Returns, whether the cache has been set for the module 'mymodule' and the task 'maintenancetask'
Does not require the cache to actually contain a value, but must exist.
RELATED LINKS
SYNOPSIS
Tests, whether the specified task engine cache-entry has been written.
SYNTAX
Test-PSFTaskEngineCache [-Module] <String> [-Name] <String> [<CommonParameters>]
DESCRIPTION
Tests, whether the specified task engine cache-entry has been written.
PARAMETERS
-Module <String>
The name of the module that generated the task.
Use scriptname in case of using this within a script.
Note: Must be the same as the name used within the task when calling 'Set-PSFTaskEngineCache'
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the task for which the cache is.
Note: Must be the same as the name used within the task when calling 'Set-PSFTaskEngineCache'
Required? true
Position? 2
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-PSFTaskEngineCache -Module 'mymodule' -Name 'maintenancetask'
Returns, whether the cache has been set for the module 'mymodule' and the task 'maintenancetask'
Does not require the cache to actually contain a value, but must exist.
RELATED LINKS