For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test-WindowsPackageCAB

Tests WindowsPackageCAB conditions.

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Evaluates WindowsPackageCAB state and returns a validation result for scripting decisions.

Syntax

Test-WindowsPackageCAB [-PackagePath] <String> [[-Path] <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

Parameters

Parameter
Type
Required
Description

-PackagePath

String

True

Specifies the PackagePath to use when running Test-WindowsPackageCAB.

-Path

String

False

Specifies the Path to use when running Test-WindowsPackageCAB.

Examples

Example

Demonstrates a common way to run Test-WindowsPackageCAB.

Last updated

Was this helpful?