Skip to main content

Rename-IMPasskey

SYNOPSIS​

Updates the name of a passkey.

SYNTAX​

name (Default)​

Rename-IMPasskey [-Session <ImmichSession>] -Id <String> -Name <String> [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]

clear​

Rename-IMPasskey [-Session <ImmichSession>] -Id <String> [-ClearName] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION​

Renames a passkey or clears its name. Requires the passkey.update permission. Responses are returned as received so nullable fields are preserved.

EXAMPLES​

EXAMPLE 1​

Rename-IMPasskey -Id 'bde7ceba-f301-4e9e-87a2-163937a2a3db' -Name 'Security key'

Renames the specified passkey.

EXAMPLE 2​

Get-IMPasskey -Id 'bde7ceba-f301-4e9e-87a2-163937a2a3db' | Rename-IMPasskey -ClearName

Clears the passkey's name.

PARAMETERS​

-Session​

Optional Immich session to use instead of the default session.

Type: ImmichSession
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id​

UUID of the passkey. Accepts a value or an object from the pipeline.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Name​

New nonempty passkey name.

Type: String
Parameter Sets: name
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ClearName​

Clears the passkey name by sending an explicit null value.

Type: SwitchParameter
Parameter Sets: clear
Aliases:

Required: True
Position: Named
Default value: False
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

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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​

EDIT THIS DOC​

This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.