< Back
Write-WeatherForecast
Post
NAME Write-WeatherForecast
SYNOPSIS
Writes out a friendly forecast for the provided number of days (including today)
SYNTAX
Write-WeatherForecast [[-City] <Object>] [[-Days] <Object>] [[-ApiKey] <Object>] [[-Units] <String>] [[-Proxy]
<Uri>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-City <Object>
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
-Days <Object>
The number of days to include in the forecast (up to 5) in addition to today. Defaults to 1 day.
Required? false
Position? 2
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-ApiKey <Object>
Your app ID (API key) from OpenWeatherMap
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Units <String>
The measurement system for units desired in the response
Required? false
Position? 4
Default value imperial
Accept pipeline input? false
Accept wildcard characters? false
-Proxy <Uri>
Required? false
Position? 5
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
OUTPUTS
RELATED LINKS
SYNOPSIS
Writes out a friendly forecast for the provided number of days (including today)
SYNTAX
Write-WeatherForecast [[-City] <Object>] [[-Days] <Object>] [[-ApiKey] <Object>] [[-Units] <String>] [[-Proxy]
<Uri>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-City <Object>
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
-Days <Object>
The number of days to include in the forecast (up to 5) in addition to today. Defaults to 1 day.
Required? false
Position? 2
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-ApiKey <Object>
Your app ID (API key) from OpenWeatherMap
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Units <String>
The measurement system for units desired in the response
Required? false
Position? 4
Default value imperial
Accept pipeline input? false
Accept wildcard characters? false
-Proxy <Uri>
Required? false
Position? 5
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
OUTPUTS
RELATED LINKS