Subscribe

powershell collect information

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

Re: powershell collect information

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.