< Back

Export-ODUOctopusDeployConfig

Sat Jan 18, 2020 5:31 pm

NAME Export-ODUOctopusDeployConfig



SYNOPSIS

Exports Octopus Deploy configuration from a server and saves in local JSON files.





SYNTAX

Export-ODUOctopusDeployConfig [-Quiet] [-SkipJoinData] [-PassThru] [<CommonParameters>]





DESCRIPTION

Exports Octopus Deploy configuration from a server to a unique datetimestamp folder.

Fetches from server and saves to folder based on settings entered by user via the

Set-ODUConfig* functions.





PARAMETERS

-Quiet [<SwitchParameter>]

Suppress status output



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-SkipJoinData [<SwitchParameter>]

Skip running join data process (id->name lookup, add deploy process to projects, etc.)



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Returns string path to export; also suppresses status output (sets Quiet = $true)



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-ODUOctopusDeployConfig



<create datetime stamp folder, exports all content to it and post-processes it>











RELATED LINKS

https://github.com/DTW-DanWard/OctopusDeployUtilities