Test-ModuleManifest - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
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 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-Modul e returns). If any files are not in the locations specified in the manifest, the cmdlet also generates an error for each missing file.