Command
Update-ManagedScriptFileInfo
Updates PSResourceGet-compatible PSScriptInfo metadata in an existing script file.
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 SetsExamples
Example 1
Update-ManagedScriptFileInfo -Path 'C:\Path'Parameters
- 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.
- Search tags.
- -Version String
- Script version.
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.