From https://github.com/PowerShell/PowerShell/issues/13039. .NET does not implicitly allow cross-filesystem directory moves: https://github.com/dotnet/runtime/issues/31149. This was mitigated in https://github.com/PowerShell/PowerShell/pull/13044, but when .NET updates their implementation, we should fall back to using their API as before.
From #13039.
.NET does not implicitly allow cross-filesystem directory moves: dotnet/runtime#31149.
This was mitigated in #13044, but when .NET updates their implementation, we should fall back to using their API as before.