Get-LiquitDeviceCollectionMember
Synopsis
This command displays a list of devices that are members of a specific device collection.
Syntax
Get-LiquitDeviceCollectionMember
[-DeviceCollection] <DeviceCollection[]>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Example
$deviceCollection = Get-LiquitDeviceCollection -id 00000000-0000-0000-0000-000000000000
Get-LiquitDeviceCollectionMember -DeviceCollection $deviceCollection
This command lists all available devices from the selected device collection.
Add-LiquitDeviceCollectionMember
Synopsis
This command adds a device to a collection.
Syntax
Add-LiquitDeviceCollectionMember
[-DeviceCollection] <DeviceCollection>
[-Device] <Device[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$device = Get-LiquitDevice -id 00000000-0000-0000-0000-000000000000
$deviceCollection = Get-LiquitDeviceCollection -id 00000000-0000-0000-0000-000000000000
Add-LiquitDeviceCollectionMember -DeviceCollection $deviceCollection -Device $device
This command adds a specific device to a specific collection.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
DeviceCollection | <DeviceCollection> |
The collection to which you add the device. | Yes | |
Device | <Device[]> |
The device to add to the collection. | Yes | |
LiquitContext | <LiquitContext> |
Determines the selected zone. | No | Default |
Remove-LiquitDeviceCollectionMember
Synopsis
This command removes a device from a collection.
Syntax
Remove-LiquitDeviceCollectionMember
[-DeviceCollection] <DeviceCollection>
[-Device] <Device[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$device = Get-LiquitDevice -id 00000000-0000-0000-0000-000000000000
$deviceCollection = Get-LiquitDeviceCollection -id 00000000-0000-0000-0000-000000000000
Remove-LiquitDeviceCollectionMember -DeviceCollection $deviceCollection -Device $device
This command removes the selected device from the selected collection.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
DeviceCollection | <DeviceCollection> |
The collection from which you remove the device. | Yes | |
Device | <Device[]> |
The device to remove from the collection. | Yes | |
LiquitContext | <LiquitContext> |
Determines the selected zone. | No | Default |