Enable-PSRemoting
Enable-WSManCredSSP -Role server
Get-NetConnectionProfile
Set-NetConnectionProfile -Name "mynetworkname" -NetworkCategory Private
แทน networkname ด้วยชื่อ connection ที่ท่านเห็นจากการใช้คำสั่ง Get-NetConnectionProfileEnable-PSRemoting
Set-Item WSMan:\localhost\Client\TrustedHosts -Value hyperv01
Enable-WSManCredSSP -Role client -DelegateComputer hyperv01
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
cmdkey /add:hyperv01 /user:Administrator /pass
แทน hyperv01 ด้วยชื่อ server hyper-v ของท่าน โดยอย่าลืมไปกำหนดชื่อแทน IP ในEnable-PSRemoting
Set-Item WSMan:\localhost\Client\TrustedHosts -Value hyperv01
Enable-WSManCredSSP -Role client -DelegateComputer hyperv01
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
cmdkey /add:hyperv01 /user:Administrator /pass
แทน hyperv01 ด้วยชื่อ server hyper-v ของท่าน โดยอย่าลืมไปกำหนดชื่อแทน IP ในls /etc/systemd/network
เราจะเห็นไฟล์ชื่อ 10-eth0.networkvi /etc/systemd/network/10-eth0.network
[Match]
Name=eth0
[DHCPv4]
SendRelease=false
[Network]
Domains=migrate.me
Gateway=192.168.1.1
Address=192.168.1.2/24
LinkLocalAddressing=no
DHCP=no
[DHCP]
UseDNS=false
/iscsi/iqn.2026-02.local.deb:fileserver01/tpg1 set attribute generate_node_acls=0/iscsi/iqn.2026-02.local.deb:fileserver01/tpg1/acls create iqn.1991-05.com.microsoft:node1/iscsi/iqn.2026-02.local.deb:fileserver01/tpg1/acls create iqn.1991-05.com.microsoft:node2mkdir -p /etc/rtslib-fb-target/prchown -R root:root /etc/rtslib-fb-targetchmod -R 755 /etc/rtslib-fb-target