Skip to content

Update-RefreshDBPoolTask

SYNOPSIS

Updates the refresh DBPool scheduled task.

SYNTAX

Update-RefreshDBPoolTask [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function updates the scheduled task that runs the refresh DBPool script by updating path and arguments.

EXAMPLES

EXAMPLE 1

This example updates the scheduled task that runs the refresh DBPool script.

Update-RefreshDBPoolTask

PARAMETERS

-Force

Forces the update of the scheduled task.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

N/A

OUTPUTS

N/A

NOTES

This function is currently only supported on Windows systems.

https://datto-dbpool-refresh.kentsapp.com/Internal/scheduledTask/Update-RefreshDBPoolTask/