Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.01 KB

Get-PnPContentTypePublishingHubUrl.md

File metadata and controls

45 lines (32 loc) · 1.01 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Get-PnPContentTypePublishingHubUrl

SYNOPSIS

Returns the url to Content Type Publishing Hub

SYNTAX

Get-PnPContentTypePublishingHubUrl [-Connection <SPOnlineConnection>]

EXAMPLES

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

PS:> $url = Get-PnPContentTypePublishingHubUrl
PS:> Connect-PnPOnline -Url $url
PS:> Get-PnPContentType

This will retrieve the url to the content type hub, connect to it, and then retrieve the content types form that site

PARAMETERS

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices