Date: Thu, 28 Mar 2024 23:53:35 +0000 (GMT) Message-ID: <1314397303.523.1711670015371@ip-172-31-38-4.eu-west-1.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_522_1163313418.1711670015339" ------=_Part_522_1163313418.1711670015339 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Exports an IBuildArtifact object to disk.
Export-DatabaseBuildArtifact [-InputObject=
] <IBuildArtifact> -Path <Object> [-Force] [-OutputFormat <B=
uildArtifactOutputFormat>] [<CommonParameters>] |
The Export-DatabaseBuildArtifact cmdlet exports the IBuildArtifact objec= t produced by the New-DatabaseBuildArtifact cmdlet as a NuGet package or as= a .zip file.
-InputObject &l=
t;RedGate.Versioning.Automation.Compare.Domain.BuildArtifacts.IBuildArtifac=
t>
The IBuildArtifact object to be exported.
Aliases | None |
Required? | true |
Position? | 0 |
Default Value | None |
Accept Pipeline Input | true (ByValue) |
Accept Wildcard Characters | false |
-Path &l=
t;System.Object>
The path to the folder the build artifact is exported to. If the folder = doesn't already exist, it will be created when the build artifact is export= ed.
Aliases | None |
Required? | true |
Position? | named |
Default Value | None |
Accept Pipeline Input | false |
Accept Wildcard Characters | false |
-Force <System.Management.Automation.SwitchParam=
eter>
Use this parameter to overwrite any existing build artifact with the sam= e name.
Aliases | None |
Required? | false |
Position? | named |
Default Value | False |
Accept Pipeline Input | false |
Accept Wildcard Characters | false |
-OutputFor=
mat <RedGate.Versioning.Automation.Compare.BuildArtifacts.BuildArtifactO=
utputFormat>
The output format of the Build Artifact. If you don't use this parameter= the default behaviour is to export to a NuGet package
Possible values: NuGet, Zip
Aliases | None |
Required? | false |
Position? | named |
Default Value | NuGet |
Accept Pipeline Input | false |
Accept Wildcard Characters | false |
<CommonP=
arameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorActi= on, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see= http://technet.microsoft.com/en-us/libr= ary/hh847884.aspx.
The input type is the type of the objects that you can pipe to the cmdle= t.
The IBuildArtifact object to be exported.
The output type is the type of the objects that the cmdlet emits.
|
In this example, the New-DatabaseBuildArtifact cmdlet creates an IBuildA= rtifact object from a validated database schema. The Export-DatabaseBuildAr= tifact cmdlet then exports the build artifact to C:\Export\buildArtifacts a= s a NuGet package.
|
In this example, the New-DatabaseBuildArtifact cmdlet creates an IBuildA= rtifact object from a validated database schema. The Export-DatabaseBuildAr= tifact cmdlet then exports the build artifact to C:\Export\buildArtifacts a= s a zip file.
|
In this example, the New-DatabaseBuildArtifact cmdlet creates an IBuildA= rtifact object from a validated database schema. The Export-DatabaseBuildAr= tifact cmdlet then exports the package to c:\Export\buildArtifacts as a NuG= et package.