Description
Problem description
Hi!
I'm currently working through a few things in my Fabric tenant and noticed something odd in the latest version of the module from the PowerShell Gallery.
There are two functions: Get-FabricCapacity and Get-FabricCapacities. I'm a bit confused about the purpose of Get-FabricCapacities. First, the naming seems inconsistent with PowerShell best practices, as nouns should generally be singular. Second, the function doesn't appear to return anything—I tested it with two different users, each with different permissions, and got no results in either case. In contrast, Get-FabricCapacity returns the expected data.
Given this behavior, do you think it makes sense to deprecate or remove Get-FabricCapacities?
Best regards,
Frank
Verbose logs
-
Module Version
fabrictools 0.29.0
Suggested solution
Drop Get-FabricCapacities