Invoke-CMContentValidation

Validates packages on a distribution point.

Syntax

Invoke-CMContentValidation
      -ApplicationId <String[]>
      [-CollectionName <String[]>]
      [-DisableContentDependencyDetection]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      -ApplicationName <String[]>
      [-CollectionName <String[]>]
      [-DisableContentDependencyDetection]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      -BootImageId <String[]>
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      -BootImageName <String[]>
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      -DeploymentPackageId <String[]>
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      -DeploymentPackageName <String[]>
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DisableContentDependencyDetection]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -DriverPackageId <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -DriverPackageName <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      -InputObject <IResultObject>
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -OperatingSystemImage <IResultObject>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -OperatingSystemImageId <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -OperatingSystemImageName <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -OperatingSystemInstallerId <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -OperatingSystemInstallerName <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -PackageId <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -PackageName <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -TaskSequenceId <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-CMContentValidation
      [-CollectionName <String[]>]
      [-DistributionPointGroupName <String[]>]
      [-DistributionPointName <String[]>]
      -TaskSequenceName <String[]>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Invoke-CMContentValidation cmdlet validates one or more packages on a distribution point. Validating the content ensures that the entire set of files transferred successfully to the distribution point.

Examples

Example 1: Validate content for an application

PS C:\>Invoke-CMContentValidation -ApplicationName "Dict.app" -DistributionPointName "DPServer01"

This command validates the package for the application named Dict.app one the distribution point named DPServer01.

Required Parameters

-ApplicationId

Specifies an array of application IDs. These IDs are GUIDs as strings.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ApplicationName

Specifies an array of application names.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BootImageId

Specifies an array of IDs of boot images.

Type:String[]
Aliases:BootImageIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BootImageName

Specifies an array of names of boot images.

Type:String[]
Aliases:BootImageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentPackageId

Specifies an array of IDs of deployment packages.

Type:String[]
Aliases:DeploymentPackageIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentPackageName

Specifies an array of names of deployment packages.

Type:String[]
Aliases:DeploymentPackageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DriverPackageId

Specifies an array of IDs of driver packages.

Type:String[]
Aliases:DriverPackageIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DriverPackageName

Specifies an array of names of driver packages.

Type:String[]
Aliases:DriverPackageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject
Type:IResultObject
Aliases:Application, Package, BootImage, DeploymentPackage, SoftwareUpdatePackage, DriverPackage, ImagePackage, OperatingSystemInstaller, TaskSequence
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-OperatingSystemImage

Specifies an operating system image object. To get a CMOperatingSystemImage object, use the Get-CMOperatingSystemImage cmdlet.

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatingSystemImageId

Specifies an array of IDs of operating system images.

Type:String[]
Aliases:OperatingSystemImageIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatingSystemImageName

Specifies an array of names of operating system images.

Type:String[]
Aliases:OperatingSystemImageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatingSystemInstallerId

Specifies an array of IDs of operating system installers.

Type:String[]
Aliases:OperatingSystemInstallerIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperatingSystemInstallerName

Specifies an array of names of operating system installers.

Type:String[]
Aliases:OperatingSystemImageInstallerNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PackageId

Specifies an array of IDs of packages.

Type:String[]
Aliases:PackageIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PackageName

Specifies an array of names of packages.

Type:String[]
Aliases:PackageNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceId

Specifies an array of IDs of task sequences.

Type:String[]
Aliases:TaskSequenceIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequenceName

Specifies an array of names of task sequences.

Type:String[]
Aliases:TaskSequenceNames
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-CollectionName

Specifies the name of a Configuration Manager collection.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableContentDependencyDetection
Type:SwitchParameter
Aliases:DisableDetectAssociatedContentDependencies
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributionPointGroupName

Specifies the name of a distribution point group.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributionPointName

Specifies the name of a distribution point that is associated with the content.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False