< Back

Remove-ISHServiceBackgroundTask

Wed Jan 15, 2020 8:25 am

NAME Remove-ISHServiceBackgroundTask



SYNOPSIS

Removes BackgroundTask windows service.





SYNTAX

Remove-ISHServiceBackgroundTask [-Role <string>] [-ISHDeployment <ISHDeployment>] [<CommonParameters>]





DESCRIPTION

The Remove-ISHServiceBackgroundTask cmdlet removes all BackgroundTask windows services of specified role.





PARAMETERS

-Role <string>

The role of BackgroundTask services.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ISHDeployment <ISHDeployment>

Specifies the name or instance of the Content Manager deployment.



Required? false

Position? named

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



---------- EXAMPLE 1 ----------



PS C:\\>Remove-ISHServiceBackgroundTask -ISHDeployment $deployment



This command removes all instances of BackgroundTask windows services of Default role. Parameter $deployment is a

deployment name or an instance of the Content Manager deployment retrieved from Get-ISHDeployment cmdlet.

---------- EXAMPLE 2 ----------



PS C:\\>Remove-ISHServiceBackgroundTask -ISHDeployment $deployment -Role "PublishOnly"



This command removes all instances of BackgroundTask windows services with role "PublishOnly". Parameter

$deployment is a deployment name or an instance of the Content Manager deployment retrieved from Get-ISHDeployment

cmdlet.



RELATED LINKS

Enable-ISHServiceBackgroundTask

Disable-ISHServiceBackgroundTask

Get-ISHServiceBackgroundTask

Set-ISHServiceBackgroundTask