Remove-SCSMPortalDeploymentProcess

Remove-SCSMPortalDeploymentProcess

Removes a software deployment process from the Service Manager Self-Service Portal.

Syntax

Parameter Set: Default
Remove-SCSMPortalDeploymentProcess [-DeploymentProcess] <EnterpriseManagementInstance[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Remove-SCSMPortalDeploymentProcess cmdlet removes a software deployment process from the Service Manager Self-Service Portal.

Parameters

-DeploymentProcess<EnterpriseManagementInstance[]>

Specifies an object that represents a Software Deployment Process. This is returned by the Get-SCSMPortalDeploymentProcess cmdlet.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

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.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.EnterpriseManagement.Core.Cmdlets.Instances.EnterpriseManagementInstance

    You can pipe a deployment process to the DeploymentProcess parameter of the Remove-SCSMPortalDeploymentProcess cmdlet. For example, the object returned by the Get-SCSMPortalDeploymentProcess cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.

    This cmdlet does not generate any output.

Examples

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

The commands in the following example display and then remove all deployment processes in which the description property matches the string 3.

PS C:\> Get-SCSMPortalDeploymentProcess
PS C:\> Get-SCSMPortalDeploymentProcess | where{ $_.description -match "3" } | Remove-SCSMPortalDeploymentProcess

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

The commands in the following example remove all portal deployment processes.

PS C:\>$PortalDeployment = Get-SCSMPortalDeploymentProcess
PS C:\>Remove-SCSMPortalDeploymentProcess $PortalDeployment