Small script to reduce retry time from 1 hour to 10 minutes, like in Windows 2019 default, for each cluster resource, using foreach method as described here. Set-ClusterResourceParameter can't set this values, but foreach can. Also this will increase cluster delays for the virtual environment and register PTR records on network names.
Get-Cluster | ForEach-Object { $_.SameSubnetDelay=2000; $_.SameSubnetThreshold=20; $_.CrossSubnetDelay=2000; $_.CrossSubnetThreshold=20; $_.RouteHistoryLength=30}
Get-ClusterResource * | ForEach-Object { $_.RestartPeriod=300000; $_.RestartThreshold=3; $_.RetryPeriodOnFailure=600000}
Get-ClusterResource * | Where-Object { $_.ResourceType -eq "Network Name"} | ForEach-Object {Set-ClusterParameter -InputObject $_ PublishPTRRecords 1; Update-ClusterNetworkNameResource -InputObject $_}