Get-AzWindowsIotServicesDevice
Windows IoT Device Service의 비보안 관련 메타데이터를 가져옵니다.
Syntax
Get-AzWindowsIotServicesDevice
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWindowsIotServicesDevice
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWindowsIotServicesDevice
-InputObject <IWindowsIotServicesIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWindowsIotServicesDevice
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Windows IoT Device Service의 비보안 관련 메타데이터를 가져옵니다.
예제
예제 1: 구독에서 모든 Windows IoT 서비스 가져오기
Get-AzWindowsIotServicesDevice
Location Name Type Etag
-------- ---- ---- ----
West US wsi-t01 Microsoft.WindowsIoT/DeviceServices "5c006e63-0000-0700-0000-5faa37830000"
eastus wsi-t02 Microsoft.WindowsIoT/DeviceServices "5c006ad2-0000-0700-0000-5faa3e090000"
이 명령은 구독에서 모든 Windows IoT 서비스를 가져옵니다.
예제 2: 리소스 그룹에서 모든 Windows IoT 서비스 가져오기
Get-AzWindowsIotServicesDevice -ResourceGroupName azure-rg-test
Location Name Type Etag
-------- ---- ---- ----
West US wsi-t01 Microsoft.WindowsIoT/DeviceServices "5c006e63-0000-0700-0000-5faa37830000"
eastus wsi-t02 Microsoft.WindowsIoT/DeviceServices "5c006ad2-0000-0700-0000-5faa3e090000"
이 명령은 리소스 그룹 아래에 있는 모든 Windows IoT 서비스를 가져옵니다.
예제 3: 이름으로 Windows IoT 서비스 가져오기
Get-AzWindowsIotServicesDevice -ResourceGroupName azure-rg-test -Name wsi-t01
Location Name Type Etag
-------- ---- ---- ----
West US wsi-t01 Microsoft.WindowsIoT/DeviceServices "5c006e63-0000-0700-0000-5faa37830000"
이 명령은 이름으로 Windows IoT 서비스를 가져옵니다.
예제 4: 개체별 Windows IoT 서비스 가져오기
$wsi = New-AzWindowsIotServicesDevice -Name wsi-t01 -ResourceGroupName azure-rg-test -Location eastus -Quantity 10 -BillingDomainName 'microsoft.onmicrosoft.com' -AdminDomainName 'microsoft.onmicrosoft.com'
Get-AzWindowsIotServicesDevice -InputObject $wsi
Location Name Type Etag
-------- ---- ---- ----
West US wsi-t01 Microsoft.WindowsIoT/DeviceServices "5c006e63-0000-0700-0000-5faa37830000"
이 명령은 개체별로 Windows IoT 서비스를 가져옵니다.
예제 5: 파이프라인별 Windows IoT 서비스 가져오기
$wsi = New-AzWindowsIotServicesDevice -Name wsi-t01 -ResourceGroupName azure-rg-test -Location eastus -Quantity 10 -BillingDomainName 'microsoft.onmicrosoft.com' -AdminDomainName 'microsoft.onmicrosoft.com' | Get-AzWindowsIotServicesDevice
Location Name Type Etag
-------- ---- ---- ----
West US wsi-t01 Microsoft.WindowsIoT/DeviceServices "5c006e63-0000-0700-0000-5faa37830000"
이 명령은 파이프라인별로 Windows IoT 서비스를 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-InputObject
ID 매개 변수를 생성하려면 INPUTOBJECT 속성에 대한 NOTES 섹션을 참조하고 해시 테이블을 만듭니다.
| Type: | IWindowsIotServicesIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
-Name
Windows IoT 장치 서비스의 이름입니다.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-ResourceGroupName
Windows IoT 장치 서비스를 포함하는 리소스 그룹의 이름입니다.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-SubscriptionId
구독 식별자입니다.
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
입력
출력
참고
별칭
복합 매개 변수 속성
아래에 설명된 매개 변수를 만들려면 적절한 속성을 포함하는 해시 테이블을 생성합니다. 해시 테이블에 대한 자세한 내용은 Get-Help about_Hash_Tables 실행합니다.
INPUTOBJECT <IWindowsIotServicesIdentity>: ID 매개 변수
[DeviceName <String>]: Windows IoT Device Service의 이름입니다.[Id <String>]: 리소스 ID 경로[ResourceGroupName <String>]: Windows IoT Device Service를 포함하는 리소스 그룹의 이름입니다.[SubscriptionId <String>]: 구독 식별자입니다.
피드백
다음에 대한 사용자 의견 제출 및 보기