No it doesn't work. Gives many errors like:
*
- The term 'Sort-Location' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
- You cannot call a method on a null-valued expression.
- Cannot find an overload for "Add" and the argument count: "2".
- Cannot convert '' to the type 'System.Collections.IDictionary' required by parameter 'Property'. Specified method is not supported.*