< Back

Get-OctopusFeed

Sat Jan 18, 2020 5:25 pm

NAME Get-OctopusFeed



SYNOPSIS

Gets information about the external feeds registered in Octopus





SYNTAX

Get-OctopusFeed [[-FeedName] <string[]>] [-ResourceOnly <SwitchParameter>] [<CommonParameters>]



Get-OctopusFeed [[-URL] <string[]>] [-ResourceOnly <SwitchParameter>] [<CommonParameters>]





DESCRIPTION

Gets information about the external feeds registered in Octopus





PARAMETERS

-FeedName <string[]>

Feed name



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Name <string[]>

Feed name



This is an alias of the FeedName parameter.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-URL <string[]>

Feed URL/Path



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-URI <string[]>

Feed URL/Path



This is an alias of the URL parameter.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ResourceOnly <SwitchParameter>

If set to TRUE the cmdlet will return the basic Octopus resource. If not set or set to FALSE, the cmdlet will

return a human friendly Octoposh output object



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

System.String[]

Feed name



System.String[]

Feed URL/Path





OUTPUTS

System.Collections.Generic.List`1[[Octoposh.Model.OutputOctopusFeed, Octoposh, Version=1.0.0.0, Culture=neutral,

PublicKeyToken=null]]



System.Collections.Generic.List`1[[Octopus.Client.Model.FeedResource, Octopus.Client, Version=4.22.0.0,

Culture=neutral, PublicKeyToken=null]]





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



PS C:\\> Get-OctopusFeed



Get all the external feeds registered in the current Instance

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



PS C:\\> Get-OctopusFeed -FeedName "MyGet"



Get the External Feed named "MyGet"

---------- EXAMPLE 3 ----------



PS C:\\> Get-OctopusFeed -URL "*Mycompany*"



Get a feed with a the string "MyCompany" inside its URL



RELATED LINKS

WebSite: http://Octoposh.net

Github Project: https://github.com/Dalmirog/OctoPosh/

Wiki: http://octoposh.readthedocs.io

QA and Feature requests: https://gitter.im/Dalmirog/OctoPosh#initial