Some useful tools I've cobbled together that make strava automating nicer.
Feed this an activityID and it will guesstimate if it's a commute or not.
Example: Strava-CheckCommute -ActivityID 1626198717
Eventually this will enable periodic importing and background running, pulls data since -LastRun
Example: Strava-NewSinceLast -LastRun $var_lastrun_unix_ts -Bearer $var_bearer | ft
Generic table of details for an activity
Example: Strava-Details -ActivityID 1626198717 -Bearer $var_bearer | ft
Once there's a bit more logic and something to get the Oauth key this will set as Commute in strava
Example: Strava-SetAsCommute -ActivityID 1631078707 -Direction Workwards