@standuhuajun , To run SCVMM related powershell command, we need to import the virtualmanachinemanager module. with the following command:
Import-module virtualmachinemanager
We can firstly import the module and run the command again.
Hope it can help.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.