Get-​Azure​Rm​Iot​Hub​Registry​Statistic

Gets the RegistryStatistics for an IotHub.

Syntax

Get-AzureRmIotHubRegistryStatistic
   [-ResourceGroupName] <String>
   [-Name] <String>
   [<CommonParameters>]

Description

Gets the RegistryStatistics for an IotHub. This provides information about the number of total, enabled and disabled devices in an IotHub.

Examples

Example 1 Get the RegistryStatistics

PS C:\> Get-AzureRmIotHubRegistryStatistic -ResourceGroupName "myresourcegroup" -Name "myiothub"

Gets the RegistryStatictics for the IotHub named "myiothub"

Required Parameters

-Name

Name of the IoT hub.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Name of the resource group.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Collections.Generic.IList`1[[Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHubRegistryStatistics, Microsoft.Azure.Commands.IotHub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]