You can find the free space on the target datastore with
Get-Datastore-Name $destin
But what exactly would be the condition you want to test for?
The size of the VM you are moving?
You can find the free space on the target datastore with
But what exactly would be the condition you want to test for?