< Back

Get-WeatherCurrentRaw

Sat Jan 18, 2020 6:08 pm

NAME Get-WeatherCurrentRaw



SYNOPSIS

Gets the raw current weather city object from OpenWeatherMap





SYNTAX

Get-WeatherCurrentRaw [[-City] <String>] [[-ApiKey] <String>] [[-Units] <String>] [[-Proxy] <Uri>]

[[-ProxyCredential] <PSCredential>] [-ProxyUseDefaultCredentials] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-City <String>

The name of the city or name and ISO country code (e.g. "Minneapolis" or "Minneapolis,US")



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiKey <String>

Your app ID (API key) from OpenWeatherMap



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Units <String>

The measurement system for units desired in the response



Required? false

Position? 3

Default value imperial

Accept pipeline input? false

Accept wildcard characters? false



-Proxy <Uri>

A proxy URI to pass to Invoke-WebRequest



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyCredential <PSCredential>

A proxy credential to pass to Invoke-WebRequest



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyUseDefaultCredentials [<SwitchParameter>]

Whether to use default proxy credentials for Invoke-WebRequest



Required? false

Position? named

Default value False

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



OUTPUTS





RELATED LINKS