EdgeWorker

Set-EdgeWorker

Synopsis

Update an EdgeWorker ID.

Syntax

Set-EdgeWorker -EdgeWorkerName <String> [-NewName <String>] -GroupID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-EdgeWorker -EdgeWorkerID <Int32> [-NewName <String>] -GroupID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the name or group ID of an existing EdgeWorker. You can specify an EdgeWorker by either its name or ID.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑EdgeWorkerID
Conditionally required

Your EdgeWorker's ID.

‑EdgeWorkerName
Conditionally required

Your Edge Worker's name.

‑GroupID
Required

Your group's ID.

‑NewName

A name for the new Edge Worker.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links