Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Powershell direct
1. Powershell Direct - Run as Administrator
--Get virtual machine name running on your hyper-visor
Get-vm
-- Replace servername by your virtual machine name
Enter-PSSession -VMName servername
--Provide domain credentials with necessary privilege
--Get network adaptor of your virtual machine mac address and speed
Get-NetAdapter
--Get list of services running
Get-service
--Rename Network Adaptor
Get-NetAdapter | Rename-NetAdapter -NewName LAN
--Copy files over PowerShell Direct
$PSSession = New-PSSession -VMName <VMName> -Credential (Get-Credential)
Copy to VM
Copy-Item -ToSession $PSSession -Path C:temptest.txt -Destination C:
Copy From
Copy-Item -FromSession $s -Path C:guest_pathdata.txt -Destination
C:host_path
--Restart Virtual Machine
Restart-Computer -Force
--Close Session
Exit-PSSession