EMC Powerpath license registration

I was supposed to register EMC powerpath in one of the servers and I did not have an proper idea to do so. I did not have the key with myself.

Then after a lots of googling I found the command to check the EMC powerpath registration status.

C:\Users\administrator>powermt check_registration
There are no license keys now registered.

Then I logged into another server, executed the same command and got the key.

C:\Users\administrator>powermt check_registration

Key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Product: PowerPath
Capabilities: All

I then used the same key for the server using the command.

C:\Users\administrator>emcpreg -add XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Success: License added

I succeeded in registration.