< Back

Get-HiveWeather

Sat Jan 18, 2020 8:57 pm

NAME Get-HiveWeather



SYNOPSIS

Provides basic temperature reading from the Hive Weather API





SYNTAX

Get-HiveWeather [[-PostCode] <String>] [<CommonParameters>]





DESCRIPTION

Uses a PostCode to retrieve current outside temperature.

By default the users postcode is used in the query, this can

be overridden using the PostCode parameter.





PARAMETERS

-PostCode <String>

UK Postcode



Required? false

Position? 1

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

Does not take pipeline input.





OUTPUTS

Hive Weather Properties





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



PS C:\\>Get-HiveWeather













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



PS C:\\>Get-HiveWeather -PostCode SW12



Weather Icon : clear_sky

Outside Weather : Clear

Outside Temperature : 6.0 ????C











RELATED LINKS

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