Command
Test-ManagedScriptFileInfo
Tests whether a script file contains readable PSResourceGet-compatible PSScriptInfo metadata.
Syntax
Test-ManagedScriptFileInfo
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
Test-ManagedScriptFileInfo -Path 'C:\Path'Parameters
- -Path String
- Path to the script file.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.