Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Test-ModuleManifest

Test-ModuleManifest - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Test-ModuleManifest

Short description
Verifies that a module manifest file accurately describes the contents of a module.

Syntax
Test-ModuleManifest [-Path] <String> [<CommonParameters>]





Description
The Test-ModuleManifest cmdlet verifies that the files that are listed in the module manifest (.psd1) file actually exi
st in the specified paths.


This cmdlet is designed to help module authors test their manifest files. Module users can also use this cmdlet in scri
pts and commands to detect errors before running scripts that depend on the module.


The Test-ModuleManifest cmdlet returns an object that represents the module (the same type of object that Get-Module re
turns). If any files are not in the locations specified in the manifest, the cmdlet also generates an error for each mi
ssing file.