external help file: powershellYK.dll-Help.xml Module Name: powershellYK online version: schema: 2.0.0
Rename OATH account
Rename-YubikeyOATHAccount -Account <Credential> [-NewAccountName <String>] [-NewIssuer <String>]
[<CommonParameters>]
Rename OATH account
PS C:\> $Accounttochange = Get-YubikeyOATHAccount | Where-Object {$_.Issuer -eq 'Yubico Demo'}
PS C:\> Rename-YubikeyOATHAccount -Credential $Accounttochange -NewIssuer "powershellYK Demo"
Selects and updates the Issuer from 'Yubico Demo' to 'powershellYK Demo'
Account to remove
Type: Credential
Parameter Sets: (All)
Aliases: Credential
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
New AccountName
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
New Issuer
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.