No matter how I try and format the Invoke-NaSsh command I always get a "Invoke-NaSsh : Index was out of range. Must be non-negative and less than the size of the collection." error. Any ideas on what might be the cause? What am I doing wrong?
Thanks in advance!