You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A set of PowerShell Cmdlet for carbon awareness in mind. Get the best execution time for a tasks with minimal grid carbon intenity. The best point in time is calculated based on emission forecasts to get a window with a minimal grid carbon intensity.
Additinaly get the actual grid carbon intensity.
Installation
CarbonAwareComputing.Cmdlets is available via PowerShell Gallery.
Install-Module-Name CarbonAwareComputing
Usage
Use the Get-CarbonAwareExecutionTime to get a forecast for the best execution time. If no forecast is available the fallback time will use (FallbackExecutionTime-Parameter).
$now=get-dateGet-CarbonAwareExecutionTime-Location de -EarliestExecutionTime $now-LatestExecutionTime ($now).AddHours(10) -EstimatedExecutionDuration "00:10:00"
Use the Get-GridCarbonIntensity to get the actual grid carbon intensity.
CarbonAwareComputing Cmdlets make use of the Carbon Aware SDK a Green Software Foundation Project. There are some extensions to the SDK to use cached offline data sources in our fork.