API Reference
Command
Export-ConfigurationProject
Exports a PowerShell-authored project release object to JSON.
Remarks
Exports a PowerShell-authored project release object to JSON.
Examples
Write a project configuration file
Export-ConfigurationProject -Project $project -OutputPath '.\Build\project.release.json'
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
Export-ConfigurationProject [-Force] -OutputPath <String> -Project <ConfigurationProject> [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Force SwitchParameter
- Overwrites an existing file.
- OutputPath String
- Output JSON path.
- Project ConfigurationProject
- Project configuration object to export.
Outputs
System.String