What's up with Grant-DfsnAccess?

For our environment we use a selfservice portal (built in-house) where we are trying to seperate the actual code for performing an action from the front-end code. For our DFS infrastructure the most suitable solution is a PowerShell endpoint with purpose built functions. On of these is setting security groups on DFS links to allow Access Based Enumeration (ABE) to only show links the user actually has access to. For this I need to do a very ugly ‘breakout’ from Powershell and use the DfsUtil.