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