question

MicheleDiMaria-9594 avatar image
0 Votes"
MicheleDiMaria-9594 asked XiaoweiHe-MSFT answered

StorageQOS Issues

Hello,
when I run from an elevated PowerShell window the command "Get-StorageQoSFlow" I receive the error:

 Unable to find type [Microsoft.StorageQos.Status].
 At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\StorageQoS\Policy.psm1:184 char:9
 +         [Microsoft.StorageQos.Status] $Status,
 +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (Microsoft.StorageQos.Status:TypeName) [], RuntimeException
     + FullyQualifiedErrorId : TypeNotFound

Other commands like Get-StorageQosVolume are working, but for example this is not showing the status.

The host has been upgraded from Windows2012 to Windows2019.

How can I sort the issue?

Thanks,
Michele

windows-server-clustering
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered

Hi,

Storage Quality of Service (QoS) in Windows Server 2016 provides a way to centrally monitor and manage storage performance for virtual machines using Hyper-V and the Scale-Out File Server roles.

I would like to check where do you run the command, do you run the command on a Hyper V server?

Would you please provide the screenshot of using the command and the error message?

The example to using the command like below:

PS C:\>Get-StorageQoSFlow -FilePath "C:\ClusterStorage\Volume01\TEST"

https://docs.microsoft.com/en-us/powershell/module/storageqos/get-storageqosflow?view=windowsserver2019-ps

https://docs.microsoft.com/en-us/windows-server/storage/storage-qos/storage-qos-overview

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.