You can use any of the commands listed at Redis commands except for the commands listed at Redis commands not supported in Azure Cache for Redis. You have several options to run Redis commands.
If you have a Standard or Premium cache, you can run Redis commands using the Redis Console. The Redis console provides a secure way to run Redis commands in the Azure portal.
You can also use the Redis command-line tools. To use them, do the following steps:
Download the Redis command-line tools.
Connect to the cache using redis-cli.exe. Pass in the cache endpoint using the -h switch and the key using -a as shown in the following example:
redis-cli -h .redis.cache.windows.net -a
Note
The Redis command-line tools do not work with the TLS port, but you can use a utility such as stunnel to securely connect the tools to the TLS port by following the directions in the How to use the Redis command-line tool with Azure Cache for Redis article.