次の方法で共有


Set-PlaceDevice

構文 - 更新

Set-PlaceDevice
[-ID]  
[-DeviceId]  
[-DisplayName] 
[-Description] 
[-MACAddress] 
[-Manufacturer]  
[-IPV4Address] 
[-IPV6Address] 
[-PlaceId] 
[-Tags] 
[-Sensors] 

説明

BSet-PlaceDevice コマンドレットは、指定された ID に基づいて既存の場所デバイスプロパティを上書きします。

例 1

既存の場所デバイスのすべてのプロパティをUpdatesします。

Set-PlaceDevice -Id b8a9ad1c-a90f-4e1a-bad2-1720b8e58187 -DeviceId "contoso_7D6816" -DisplayName "Contoso 7D6816 Device" -Description "Contoso 9D6816 Device" -MACAddress "00:0A:95:9D:68:16" -Manufacturer "Contoso" -IPV4Address "192.168.1.100" -IPV6Address "2001:db8::ff00:42:8329" -PlaceId "acfa3bc0- 2b83-425b-8910-84a0250e9671" -Tags "BuildingA" -Sensors (New-Object MicrosoftPlaces.PlacesDevices.Sensor -Property @{SensorType="badge"})

パラメーター

-身分証明書

場所デバイスの ID。

属性 説明
種類: 文字列
必須: はい

-DeviceId

デバイスのユーザー定義 ID。

属性 説明
種類: 文字列
必須: はい

-DisplayName

デバイスの名前。

属性 説明
種類: 文字列
必須: False

-Description

デバイスの説明。

属性 説明
種類: 文字列
必須: False

-MACAddress

製造元が提供するデバイスの MAC アドレス。

属性 説明
種類: 文字列
必須: False

-生産者

デバイスの製造元の名前。

属性 説明
種類: 文字列
必須: はい

-IPV4Address

デバイスの IPV4 アドレス。

属性 説明
種類: 文字列
必須: False

-IPV6Address

デバイスの IPV6 アドレス。

属性 説明
種類: 文字列
必須: False

-PlaceId

デバイスに関連付けられている場所 (Microsoft Places) の ID。

属性 説明
種類: Guid 文字列
必須: False

-タグ

デバイスをフィルター処理または識別するために使用される文字列。

属性 説明
種類: 文字列
必須: False

-センサー

デバイスに関連付けられているセンサーのプロパティ。

属性 説明
種類: MicrosoftPlaces.PlacesDevices.Sensor
必須: はい