NVPM ERROR: power mode is not set! | Jetson Xavier | JetPack 4.1.1

After installing JetPack 4.1.1 Developer Preview and all components for the target system (Jetson Xavier), I get the following error when I run sudo nvpmodel -query

NVPM ERROR: power mode is not set!

I am not sure why this is occurring.

Was there an error while installing components on the target system that I don’t know about?

Thanks in advance for your help.

Cuda Education
cudaeducation.com

Figured it out. The correct command is sudo nvpmodel -q

Cuda Education
cudaeducation.com