Quantcast
Viewing all articles
Browse latest Browse all 251313

Re: Fixed Path via PowerCLI on new Datastores in Stretched Clusters

You could expand the Where-clause and only take the paths that not set as preferred.

 

Get-ScsiLun-VmHostesx01*|

Get-Scsilunpath|

where { ($_.SanID -eq"20:00:00:00:00:00:00:01"-or$_.SanID -eq"20:00:00:00:00:00:10:02") -and-not$_.Preferred} |

Set-Scsilunpath-Preferred


Viewing all articles
Browse latest Browse all 251313

Trending Articles



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