| Get -SIOC (Get -VMHost esx41) |
This will return the SIOC settings for that specific host. Your output will look something like this.
You can of course use the Get-SIOC function a pipeline as well.
| Get -VMHost | Get -SIOC | ft -Autosize |
This will give a nice tabular overview
With the Datastore parameter set you get the SIOC settings for a specific datastore
| Get -SIOC -Datastore DS1 |
And again this can be used in a pipeline
| Get -Datastore | Get -SIOC |
To change your SIOC settings on a datastore you can do
Set -SIOC -Datastore (Get -Datastore DS1) -Enabled : $true -Threshold 30 |
Or in a pipeline
| Get -Datastore -Name "DS*" | Set -SIOC -Enabled : $true -Threshold 30 |
Notice that the Set-SIOC function doesn’t return anything !
No comments:
Post a Comment