Remove-Redis Cmdlet
Deletes Redis data.
Syntax
Remove-Redis [parameters]
Remarks
The Remove-Redis cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Redis data.
$conn = Connect-Redis -Server '127.0.0.1' -Password 'test' Remove-Redis -Connection $conn -Table "Customers" -Id "22"The Where parameter can also be used to specify the primary key:
Remove-Redis -Connection $conn -Table "exTablePowershell;" -Where "_id = 22"The primary key can also be passed to the cmdlet along the pipeline:
Select-Redis -Connection $conn -Table Customers -Where "Country = 'US'" | Remove-Redis