< Back

Read-ODUExportFromFile

Sat Jan 18, 2020 5:33 pm

NAME Read-ODUExportFromFile



SYNOPSIS

Given a specific export instance folder path returns PSObject with all values of export contained as properties





SYNTAX

Read-ODUExportFromFile [[-Path] <String>] [<CommonParameters>]





DESCRIPTION

Given a specific export instance folder path returns PSObject with all values of export contained as properties

PSObject type layout matches folder names

If FolderPath not passed, uses value from Get-ODUExportLatestPath





PARAMETERS

-Path <String>

Path for export



Required? false

Position? 1

Default value

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:\\>Read-ODUExportFromFile



<returns PSObject with all exported data from latest export>









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Read-ODUExportFromFile c:\\OctoExports\\MyOctoServer.octopus.app\\20181107-185919



<returns PSObject with all exported data for that particular export folder>











RELATED LINKS

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