< Back
New-TargetResourceObject
Post
NAME New-TargetResourceObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.targetResource" (or one of its derived types).
SYNTAX
New-TargetResourceObject [-displayName <string>] [-groupType <string>] [-modifiedProperties <object[]>] [-type
<string>] [-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.targetResource" (or one of its derived types).
PARAMETERS
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-type <string>
The "type" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-groupType <string>
The "groupType" property, of type "microsoft.graph.groupType".
This property is on the "microsoft.graph.targetResource" type.
Valid values: 'unifiedGroups', 'azureAD', 'unknownFutureValue'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-modifiedProperties <object[]>
The "modifiedProperties" property, of type "microsoft.graph.modifiedProperty".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
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
RELATED LINKS
SYNOPSIS
Creates a new object which represents a "microsoft.graph.targetResource" (or one of its derived types).
SYNTAX
New-TargetResourceObject [-displayName <string>] [-groupType <string>] [-modifiedProperties <object[]>] [-type
<string>] [-userPrincipalName <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.targetResource" (or one of its derived types).
PARAMETERS
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-type <string>
The "type" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-userPrincipalName <string>
The "userPrincipalName" property, of type "Edm.String".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-groupType <string>
The "groupType" property, of type "microsoft.graph.groupType".
This property is on the "microsoft.graph.targetResource" type.
Valid values: 'unifiedGroups', 'azureAD', 'unknownFutureValue'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-modifiedProperties <object[]>
The "modifiedProperties" property, of type "microsoft.graph.modifiedProperty".
This property is on the "microsoft.graph.targetResource" type.
Required? false
Position? named
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
RELATED LINKS