Contact Info

Crumbtrail

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

Test-ModuleManifest - Powershell 4.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


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


This cmdlet is designed to help module authors test their manifest files. Module users can also use this cmdlet in 
scripts 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 
returns). If any files are not in the locations specified in the manifest, the cmdlet also generates an error for each 
missing file.