Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251313

Re: Scsi address and null field issues when adding drives

$
0
0

Hi Rob,

 

Thank you so much for your script and I can see how to add it using the SCSI numbers now i.e. change the controller and SCSI vaules.

 

The last part I'm not sure on is, how do I get a script to do something if the HDD2 field is null.

 

Something like

 

If $hdd2 = null then do this

else do this

 

but in a powershell/powercli terminology.

 

I understand I need to buy a book and learn the basics, I am in the process of doing this now.

But if I can understand the above, I should be able to get out of trouble until I can read it.

 

Thanks

Anthony



Viewing all articles
Browse latest Browse all 251313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>