https://learn.microsoft.com/tr-tr/dotnet/api/system.management.automation.remoting.pssessionoption.canceltimeout?view=powershellsdk-7.4.0
PSSessionOption.CancelTimeout Property (System.Management.Automation.Remoting) | Microsoft Learn
The duration for which PowerShell should wait before it times out on cancel operations (close runspace or stop powershell). For instance, when the user hits...
property systemmanagementautomationremotingmicrosoft