Hi LucD,
I saved the below content as MoveVM.PS1 and ran the command but its still giving error as earlier.
. ./FolderByPath.ps1
$folder = Get-FolderByPath -Path "LTX01-G8\LTX-Servers\LTX Servers 0000 - 0299\Linux"
Get-VM -Name ltxl0278 | Move-VM -Destination $folder
Error Screenshot:
![]()