Get-AzureRmOperationalInsightsLinkTargets

Gets accounts that are not associated with a subscription.

Syntax

Get-AzureRmOperationalInsightsLinkTargets
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmOperationalInsightsLinkTargets cmdlet lists existing accounts that are not associated with an Azure subscription. To link a new workspace to an existing account, use a customer ID returned by this operation in the customer ID property of a new workspace.

Examples

Example 1: Get unlinked accounts

PS C:\>Get-AzureRmOperationalInsightsLinkTargets

This command gets unlinked accounts that are owned by the caller's ID.

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Collections.Generic.List`1[Microsoft.Azure.Commands.OperationalInsights.Models.PSAccount]