Corrected PowerShell function name

- Made a mistake in the call to GetPathRoot, so updated the function name.