NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

powershell collect information

chinchillaking
3,373 Views

Hi All,

 

I am not familiar with powershell or programing, I try follow http://practical-admin.com/blog/cdot-environment-monitoring-using-powershell/ collect tempearture information but failed, I have copy and paste the script in powershell only, any idea? Thanks.

 

 

 screen.jpg

 

 

 

 

Best regards,

 

Chung

1 REPLY 1

asulliva
3,348 Views

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.
Public