< Back
New-LocationObject
Post
NAME New-LocationObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.location" (or one of its derived types).
SYNTAX
New-LocationObject -location <SwitchParameter> [-address <object>] [-coordinates <object>] [-displayName <string>]
[-locationEmailAddress <string>] [-locationType <string>] [-locationUri <string>] [-uniqueId <string>]
[-uniqueIdType <string>] [<CommonParameters>]
New-LocationObject -locationConstraintItem <SwitchParameter> [-address <object>] [-coordinates <object>]
[-displayName <string>] [-locationEmailAddress <string>] [-locationType <string>] [-locationUri <string>]
[-resolveAvailability <bool>] [-uniqueId <string>] [-uniqueIdType <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.location" (or one of its derived types).
PARAMETERS
-location <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.location" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationEmailAddress <string>
The "locationEmailAddress" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-address <object>
The "address" property, of type "microsoft.graph.physicalAddress".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-coordinates <object>
The "coordinates" property, of type "microsoft.graph.outlookGeoCoordinates".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationUri <string>
The "locationUri" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationType <string>
The "locationType" property, of type "microsoft.graph.locationType".
This property is on the "microsoft.graph.location" type.
Valid values: 'default', 'conferenceRoom', 'homeAddress', 'businessAddress', 'geoCoordinates',
'streetAddress', 'hotel', 'restaurant', 'localBusiness', 'postalAddress'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-uniqueId <string>
The "uniqueId" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-uniqueIdType <string>
The "uniqueIdType" property, of type "microsoft.graph.locationUniqueIdType".
This property is on the "microsoft.graph.location" type.
Valid values: 'unknown', 'locationStore', 'directory', 'private', 'bing'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationConstraintItem <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the
"microsoft.graph.locationConstraintItem" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-resolveAvailability <bool>
The "resolveAvailability" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.locationConstraintItem" type.
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
OUTPUTS
RELATED LINKS
SYNOPSIS
Creates a new object which represents a "microsoft.graph.location" (or one of its derived types).
SYNTAX
New-LocationObject -location <SwitchParameter> [-address <object>] [-coordinates <object>] [-displayName <string>]
[-locationEmailAddress <string>] [-locationType <string>] [-locationUri <string>] [-uniqueId <string>]
[-uniqueIdType <string>] [<CommonParameters>]
New-LocationObject -locationConstraintItem <SwitchParameter> [-address <object>] [-coordinates <object>]
[-displayName <string>] [-locationEmailAddress <string>] [-locationType <string>] [-locationUri <string>]
[-resolveAvailability <bool>] [-uniqueId <string>] [-uniqueIdType <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.location" (or one of its derived types).
PARAMETERS
-location <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.location" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationEmailAddress <string>
The "locationEmailAddress" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-address <object>
The "address" property, of type "microsoft.graph.physicalAddress".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-coordinates <object>
The "coordinates" property, of type "microsoft.graph.outlookGeoCoordinates".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationUri <string>
The "locationUri" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationType <string>
The "locationType" property, of type "microsoft.graph.locationType".
This property is on the "microsoft.graph.location" type.
Valid values: 'default', 'conferenceRoom', 'homeAddress', 'businessAddress', 'geoCoordinates',
'streetAddress', 'hotel', 'restaurant', 'localBusiness', 'postalAddress'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-uniqueId <string>
The "uniqueId" property, of type "Edm.String".
This property is on the "microsoft.graph.location" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-uniqueIdType <string>
The "uniqueIdType" property, of type "microsoft.graph.locationUniqueIdType".
This property is on the "microsoft.graph.location" type.
Valid values: 'unknown', 'locationStore', 'directory', 'private', 'bing'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-locationConstraintItem <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the
"microsoft.graph.locationConstraintItem" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-resolveAvailability <bool>
The "resolveAvailability" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.locationConstraintItem" type.
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
OUTPUTS
RELATED LINKS