Enter-PSSession -ComputerName HV-serv2

Start-VM -Name CORE1,CORE2

$cred = Get-Credential
Invoke-Command -VMName CORE1 -FilePath C:\info.ps1 -Credential $cred
Invoke-Command -VMName CORE1 -FilePath C:\dossier.ps1 -Credential $cred

$session1 = New-PSSession -VMName CORE1 -Credential $cred
$session2 = New-PSSession -VMName CORE2 -Credential $cred
Get-PSSession

Copy-Item -ToSession $session1 -Path C:\TESTFILE.txt -Destination C:\
Copy-Item -FromSession $session1 -Path C:\admins\core1.txt -Destination C:\

