API Reference
Command
Test-ManagedScriptFileInfo
Tests whether a script file contains readable PSResourceGet-compatible PSScriptInfo metadata.
Remarks
Tests whether a script file contains readable PSResourceGet-compatible PSScriptInfo metadata.
Examples
EXAMPLE 1
Test-ManagedScriptFileInfo -Path 'C:\Path'
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.
Syntax
Test-ManagedScriptFileInfo -Path <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Path String
- Path to the script file.
Outputs
System.Boolean