Hello,
I’m trying to run a cmdlet which I’ve found on different Microsoft sites. it’s to disable a healthsetting on a storage subsystem:
Get-StorageSubSystem Cluster* | Set-StorageHealthSetting -Name “System.Storage.PhysicalDisk.AutoPool.Enabled” -Value False
I receive the following error:
Set-StorageHealthSettingInternal : Failed
Activity ID: {874b56e9-5e67-4850-8449-6a0dffacc1c6}
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Storage\StorageScripts.psm1:6923 char:19
- … $sh | Set-StorageHealthSettingInternal -Name $na -Value $va -Ci …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/…T_StorageHealth) [Set-StorageHealthSettingIn
ternal], CimException - FullyQualifiedErrorId : StorageWMI 4,Set-StorageHealthSettingInternal
- CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/…T_StorageHealth) [Set-StorageHealthSettingIn
Trying to do a Get-StorageHealthsetting results in the same error.
To me, it looks like something is broken in Microsoft’s Storage module. Anyone got an idea how to fix this besides “call Microsoft”?
thank you in advance for your help!
Laurence