< Back

Set-HiveTemperature

Sat Jan 18, 2020 8:58 pm

NAME Set-HiveTemperature



SYNOPSIS

Sets Temperature





SYNTAX

Set-HiveTemperature [-ReceiverId] <Guid> [-Temperature] <UInt16> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Sets the temperature on the thermometer supplied to the ReceiverId parameter





PARAMETERS

-ReceiverId <Guid>

The Uniqe ID of the Receiver to change the temperature on



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Temperature <UInt16>

The New Temperature in Celcius EG. for 22????C -Temperature 22



Required? true

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Accepts Pipeline input from Get-HiveDevice





OUTPUTS







NOTES





Author: @pm091



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-HiveThermometer -ReceiverId $ID -Temperature 22













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>(Get-HiveDevice | Where-Object name -Like rec*)[0] | Select-Object -ExpandProperty id | Set-HiveThermometer

-Temperature 22















RELATED LINKS

https://github.com/pm091/PowerHive/blob ... erature.md