Skip to content

Commit

Permalink
Add-HueSensor: Adding -New (Fixes #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Oct 3, 2022
1 parent 9dfc330 commit 4d0cc6b
Showing 1 changed file with 76 additions and 22 deletions.
98 changes: 76 additions & 22 deletions docs/Send-HueBridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sends messages to a Hue Bridge
---
### Related Links
* [Get-HueBridge](Get-HueBridge.md)



---
### Examples
#### EXAMPLE 1
Expand All @@ -27,29 +30,50 @@ The IP address of the hue bridge.



|Type |Requried|Postion|PipelineInput |
|-----------------|--------|-------|---------------------|
|```[IPAddress]```|true |1 |true (ByPropertyName)|
> **Type**: ```[IPAddress]```
> **Required**: true
> **Position**: 1
> **PipelineInput**:true (ByPropertyName)


---
#### **HueUserName**

The hue user name



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[String]```|true |2 |true (ByPropertyName)|
> **Type**: ```[String]```
> **Required**: true
> **Position**: 2
> **PipelineInput**:true (ByPropertyName)


---
#### **Command**

The command being sent to the bridge. This is a partial URI.



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[String]```|false |3 |true (ByPropertyName)|
> **Type**: ```[String]```
> **Required**: false
> **Position**: 3
> **PipelineInput**:true (ByPropertyName)


---
#### **Body**

Expand All @@ -58,19 +82,33 @@ If this data is not a string, it will be converted to JSON.



|Type |Requried|Postion|PipelineInput |
|----------------|--------|-------|---------------------|
|```[PSObject]```|false |4 |true (ByPropertyName)|
> **Type**: ```[PSObject]```
> **Required**: false
> **Position**: 4
> **PipelineInput**:true (ByPropertyName)


---
#### **Method**

The HTTP method. By default, Get.



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[String]```|false |5 |true (ByPropertyName)|
> **Type**: ```[String]```
> **Required**: false
> **Position**: 5
> **PipelineInput**:true (ByPropertyName)


---
#### **OutputInput**

Expand All @@ -79,9 +117,16 @@ This is useful for creating scheudles, routines, and other macros.



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[Switch]```|false |named |true (ByPropertyName)|
> **Type**: ```[Switch]```
> **Required**: false
> **Position**: named
> **PipelineInput**:true (ByPropertyName)


---
#### **PSTypeName**

Expand All @@ -90,9 +135,16 @@ This enables the PowerShell types and formatting systems.



|Type |Requried|Postion|PipelineInput |
|----------------|--------|-------|---------------------|
|```[String[]]```|false |6 |true (ByPropertyName)|
> **Type**: ```[String[]]```
> **Required**: false
> **Position**: 6
> **PipelineInput**:true (ByPropertyName)


---
#### **WhatIf**
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
Expand All @@ -108,7 +160,9 @@ If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$co

---
### Outputs
System.Management.Automation.PSObject
* [Management.Automation.PSObject](https://learn.microsoft.com/en-us/dotnet/api/System.Management.Automation.PSObject)




---
Expand Down

0 comments on commit 4d0cc6b

Please sign in to comment.