Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

 

History

History
93 lines (66 loc) · 2.04 KB

Get-CrmSPDocumentLocation.md

File metadata and controls

93 lines (66 loc) · 2.04 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Get-CrmSPDocumentLocation

SYNOPSIS

Retrieve SharePoint Document locations

SYNTAX

GetBySharePointDocumentLocationId (Default)

Get-CrmSPDocumentLocation [-Id] <Guid[]> [<CommonParameters>]

GetByRegardingObjectId

Get-CrmSPDocumentLocation [-RegardingObjectId] <Guid[]> [<CommonParameters>]

DESCRIPTION

Retrieve SharePoint Document locations.

EXAMPLES

Example 1

PS C:\> Get-CrmSPDocumentLocation -Id '54D31946-8901-44F7-994D-29F6564B6D56'

Retrieve a specific location by Id.

Example 2

PS C:\> $accountId = Get-CrmContent -Entity account -First 1 | Select-Object Id
PS C:\> Get-CrmSPDocumentLocation -RegardingObjectId $accountId

Retrieve the document locations for a specific entity.

PARAMETERS

-Id

Id of a Sharepoint Document location entity.

Type: System.Guid[]
Parameter Sets: GetBySharePointDocumentLocationId
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RegardingObjectId

Id of an entity to retrieve SharePoint Document location for.

Type: System.Guid[]
Parameter Sets: GetByRegardingObjectId
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.Crm.Sdk.Messages.RetrieveAbsoluteAndSiteCollectionUrlResponse

NOTES

RELATED LINKS

Get-CrmSPDocumentLocation