Set-ITGlueLocation
SYNOPSIS
Updates one or more a locations
SYNTAX
Bulk_Update (Default)
Set-ITGlueLocation [-FilterID <Int64>] [-FilterName <String>] [-FilterCity <String>] [-FilterRegionID <Int64>]
[-FilterCountryID <Int64>] [-FilterOrganizationID <Int64>] [-FilterPsaIntegrationType <String>] -Data <Object>
[-WhatIf] [-Confirm] [<CommonParameters>]
Update
Set-ITGlueLocation -ID <Int64> [-OrganizationID <Int64>] -Data <Object> [-WhatIf] [-Confirm]
[<CommonParameters>]
Bulk_Update_PSA
Set-ITGlueLocation [-FilterID <Int64>] [-FilterName <String>] [-FilterCity <String>] [-FilterRegionID <Int64>]
[-FilterCountryID <Int64>] [-FilterOrganizationID <Int64>] [-FilterPsaID <String>]
-FilterPsaIntegrationType <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The Set-ITGlueLocation cmdlet updates the details of an existing location or locations
Any attributes you don’t specify will remain unchanged
Examples of JSON objects can be found under ITGlues developer documentation https://api.itglue.com/developer
EXAMPLES
EXAMPLE 1
Set-ITGlueLocation -id 8765309 -Data $JsonObject
Updates the defined location with the specified JSON object
PARAMETERS
-ID
Get a location by id
Type: Int64
Parameter Sets: Update
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-OrganizationID
The valid organization id in your account
Type: Int64
Parameter Sets: Update
Aliases: org_id, organization_id
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-FilterID
Filter by a location id
Type: Int64
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_id
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-FilterName
Filter by a location name
Type: String
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_name
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterCity
Filter by a location city
Type: String
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_city
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterRegionID
Filter by a location region id
Type: Int64
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_region_id
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-FilterCountryID
Filter by a location country id
Type: Int64
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_country_id
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-FilterOrganizationID
Filter by an organization ID
Type: Int64
Parameter Sets: Bulk_Update, Bulk_Update_PSA
Aliases: filter_organization_id
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-FilterPsaID
Filter by a psa integration id
Type: String
Parameter Sets: Bulk_Update_PSA
Aliases: filter_psa_id
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterPsaIntegrationType
Filter by a psa integration type
Allowed values: ‘manage’, ‘autotask’, ‘tigerpaw’, ‘kaseya-bms’, ‘pulseway-psa’, ‘vorex’
Type: String
Parameter Sets: Bulk_Update
Aliases: filter_psa_integration_type
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Bulk_Update_PSA
Aliases: filter_psa_integration_type
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Data
JSON object or array depending on bulk changes or not
Type: Object
Parameter Sets: Bulk_Update, Update
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
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
OUTPUTS
NOTES
N/A
RELATED LINKS
https://celerium.github.io/ITGlue-PowerShellWrapper/site/Locations/Set-ITGlueLocation.html