...
WMF 5.1 can be downloaded from here: https://docs.microsoft.com/en-us/PowerShell/wmf/5.1/installconfigure
ADFSToolkit will not proceed until your environment has been upgraded to at least this latest PowerShell version.
Installation Procedure
...