API Reference
Command
Update-ManagedScriptFileInfo
Updates PSResourceGet-compatible PSScriptInfo metadata in an existing script file.
Remarks
Updates PSResourceGet-compatible PSScriptInfo metadata in an existing script file.
Examples
EXAMPLE 1
Update-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
Update-ManagedScriptFileInfo [-Author <String>] [-CompanyName <String>] [-Copyright <String>] [-Description <String>] [-ExternalModuleDependencies <String[]>] [-ExternalScriptDependencies <String[]>] [-Guid <Guid>] [-IconUri <String>] [-LicenseUri <String>] -Path <String> [-PrivateData <String>] [-ProjectUri <String>] [-ReleaseNotes <String>] [-RemoveSignature] [-RequiredModules <Hashtable[]>] [-RequiredScripts <String[]>] [-Tags <String[]>] [-Version <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Author String
- Script author.
- CompanyName String
- Company name.
- Copyright String
- Copyright text.
- Description String
- Script description stored in comment-based help.
- ExternalModuleDependencies String[]
- External module dependencies.
- ExternalScriptDependencies String[]
- External script dependencies.
- Guid Guid
- Script metadata GUID.
- IconUri String
- Icon URI.
- LicenseUri String
- License URI.
- Path String
- Path to the script file.
- PrivateData String
- Private data text.
- ProjectUri String
- Project URI.
- ReleaseNotes String
- Release notes text.
- RemoveSignature SwitchParameter
- Remove an existing Authenticode signature block from the script body.
- RequiredModules Hashtable[]
- Required modules as PSResourceGet-style hashtables.
- RequiredScripts String[]
- Required script dependencies.
- Tags String[]
- Search tags.
- Version String
- Script version.