Remove-CCMStaleDeployment

Remove-CCMStaleDeployment

Remove-CCMStaleDeployment

Removes stale CCM Deployments

Syntax

Remove-CCMStaleDeployment `
  -Age <String> `
  [-WhatIf] `
  [-Confirm] [<CommonParameters>]

Description

Remove stale deployments from CCM based on their age and run status.

Aliases

None

Examples

EXAMPLE 1

Remove-StaleCCMDeployment -Age 30

Inputs

None

Outputs

None

Parameters

-Age <String>

The age in days to prune

PropertyValue
Aliases
Required?true
Position?1
Default Value
Accept Pipeline Input?false

-WhatIf

PropertyValue
Aliaseswi
Required?false
Position?named
Default Value
Accept Pipeline Input?false

-Confirm

PropertyValue
Aliasescf
Required?false
Position?named
Default Value
Accept Pipeline Input?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 .

Function Reference

NOTE

This documentation has been automatically generated from Import-Module "ChocoCCM" -Force; Get-Help Remove-CCMStaleDeployment -Full.