| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates a file entry for an external asset bundle.
New-ConfigurationExternalAssetFile -Runtime <string> -FileName <string> -Uri <string> [-Architecture <string>] [-Path <string>] [-Sha256 <string>] [<CommonParameters>]File entries are passed to New-ConfigurationExternalAsset. Each entry declares where the build pipeline obtains a file from, where it lands inside the output folder, and which runtime or architecture metadata should be written to the generated manifest.
New-ConfigurationExternalAssetFile -Runtime netcore -Architecture x64 -FileName tool.zip -Uri 'https://example.test/tool.zip'Optional architecture metadata written to the generated manifest.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueDestination file name when Path is not specified.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueDestination path relative to the bundle output directory. Defaults to FileName.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueRuntime or payload group, such as netcore, netfx, linux-x64, or win-x64.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional expected SHA256. When provided, mismatches fail the build.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueHTTP(S) URI, file URI, rooted local path, or project-relative local path for this file.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Url
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
PowerForge.ExternalAssetFileConfiguration
- None