The -UseTransaction parameter does not work for NTFS drives, thus it should be replaced.
Either custom transaction functions need to be implemented, or more manual checks should be done when creating a symlink, although the rolling back could be a lot of boilerplate code