Force run Universal Dashboard in PowerShell Core

on my server, I have PS version 5.1 and PS core 6.2. Is there a way I can force UD run only in PS Core 6.2. How do I check which PS version the UD is running while on IIS?