Hello Chung,
The screen shot you posted doesn't have any errors, did you encounter any after hitting the enter key again to have PowerShell execute the while loop? What type of information are you wanting to collect from your system?
Also, did you import the module and connect to your cluster beforehand?
Import-Module DataONTAP
Connect-NcController cluster.mgmt.lif.name.or.ip
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.