@rashesthippo @Editwithmouse@elonmusk By detecting the current temp of the cup in comparison to the current inside temp of the car. Or a switch or a lot more logic lol.
#PowerShell#ProTip Any parameter which can be bound from the pipeline, can accept calculated values in the form of a scriptblock (which PowerShell evaluates, passing you the output).
For example:
$Pwd | Get-ChildItem -Path { Split-Path $_ }
Watching a Netflix show. Bad guy is typing and maniacally saying “Accessing Mainframe...”
12 year old says, “Seriously, who does that? I don’t say ‘currently googling’ when I’m googling. Or maybe I should!”