external help file | Module Name | online version | schema |
---|---|---|---|
PSWattTime-help.xml |
PSWattTime |
2.0.0 |
Get the current WattTime index for a given Azure Region
Get-WattTimeForAzureRegion [-Region] <String> [-AuthToken] <String> [<CommonParameters>]
Get the current WattTime index for a given Azure Region
Get-WattTimeForAzureRegion -Region westeurope -AuthToken $authToken
The Azure Region to get the WattTime index for
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The WattTime API authentication token to use for the request
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This command, like the module, requires you to be connected to Azure via Connect-AzAccount
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTimeForAzureRegion.md
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTime.md
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTimeAuthToken.md