Get-VMIntegrationService -VMName * -Name "Time Synchronization" | Disable-VMIntegrationService
Zobrazují se příspěvky se štítkemHyper-V. Zobrazit všechny příspěvky
Zobrazují se příspěvky se štítkemHyper-V. Zobrazit všechny příspěvky
pátek 15. května 2020
Virtual Machine time synchronization in Hyper-V
Štítky:
Hyper-V,
PowerShell
středa 30. května 2018
Zmenšení velikosti VHD
diskpart
select vdisk file="d:\store\vdisk.vhdx"
attach vdisk
list vol
sel vol X
shrink querymax
shrink desired=262144
detach vdisk
exit
Resize-VHD -Path d:\store\vdisk.vhdx -ToMinimumSize
select vdisk file="d:\store\vdisk.vhdx"
attach vdisk
list vol
sel vol X
shrink querymax
shrink desired=262144
detach vdisk
exit
Resize-VHD -Path d:\store\vdisk.vhdx -ToMinimumSize
Štítky:
Hyper-V
čtvrtek 3. března 2016
pátek 31. července 2015
Tooly pro Hyper-V
$wc=new-object system.net.webclient
$wc.downloadfile("http://totalcommander.ch/win/tcmd900ax64.exe","c:\tcmd.exe")
$wc.downloadfile("http://probus-it.zohosites.com/files/HVTools2.05.zip","c:\HVTools2.05.zip")
$wc.downloadfile("http://ftp-stahuj.centrum.cz/dl/74db9832f37e08b93e66e65f61f12d97/56436745/stahuj/download/software/secured/h/hd-speed/178107/64-bit/HD_Speed_ENG_Win64.zip","c:\HD_Speed_ENG_Win64.zip")
$wc.downloadfile("http://osdn.jp/frs/redir.php?m=jaist&f=%2Fcrystaldiskinfo%2F63423%2FCrystalDiskInfo6_5_2.zip","c:\CrystalDiskInfo6_5_2.zip")
$wc.downloadfile("http://www.tmurgent.com/Tools/HyperV_Mon/HyperV_Mon_302.zip","c:\HyperV_Mon_302.zip")
$wc.downloadfile("http://totalcommander.ch/win/tcmd900ax64.exe","c:\tcmd.exe")
$wc.downloadfile("http://probus-it.zohosites.com/files/HVTools2.05.zip","c:\HVTools2.05.zip")
$wc.downloadfile("http://ftp-stahuj.centrum.cz/dl/74db9832f37e08b93e66e65f61f12d97/56436745/stahuj/download/software/secured/h/hd-speed/178107/64-bit/HD_Speed_ENG_Win64.zip","c:\HD_Speed_ENG_Win64.zip")
$wc.downloadfile("http://osdn.jp/frs/redir.php?m=jaist&f=%2Fcrystaldiskinfo%2F63423%2FCrystalDiskInfo6_5_2.zip","c:\CrystalDiskInfo6_5_2.zip")
$wc.downloadfile("http://www.tmurgent.com/Tools/HyperV_Mon/HyperV_Mon_302.zip","c:\HyperV_Mon_302.zip")
Štítky:
Hyper-V
čtvrtek 27. června 2013
HP Array Configuration Utility on Hyper-V
chassisname = ch
controller = ctrl
logicaldrive = ld
physicaldrive = pd
drivewritecache = dwc
"c:\Program Files\Compaq\Hpacucli\Bin\hpacucli.exe"
- ctrl all show status
- ctrl all show config
- ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,1I:1:3 raid=5
pondělí 24. května 2010
Hyper-V
Disable Firewall
netsh advfirewall set allprofiles state off
Allow Remote Desktop
netsh advfirewall firewall set rule group=”remote desktop” new enable=yes
Allow Remote Administration
netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
Allow Remote Firewall Administration
netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable=yes
Allow Ping
netsh firewall set icmpsetting 8
Connect to remote Server Core w/ out domain (this is done on management box)
cmdkey /add: /user: /pass:
Once in the Group Policy Editor, it took me a while to find the PnP setting. The correct location is: Computer Configuration\Administrative Templates\System\Device Installation\Allow remote access to the PnP interface.
Run gpupdate on Hyper-V Server 2008 R2 computer.
Powercfg při 40% baterie vypnout
40%
And from powershell, it's possible to monitor UPS state and battery levels...
get-wmiobject -class CIM_Battery -namespace "root\CIMV2"
netsh advfirewall set allprofiles state off
Allow Remote Desktop
netsh advfirewall firewall set rule group=”remote desktop” new enable=yes
Allow Remote Administration
netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
Allow Remote Firewall Administration
netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable=yes
Allow Ping
netsh firewall set icmpsetting 8
Connect to remote Server Core w/ out domain (this is done on management box)
cmdkey /add:
Enabling Remote Access to Device Manager
Run MMC, then select File > Add or Remove Snap-in > Group Policy Object Editor, then select the Hyper-V Server 2008 R2 computer.Once in the Group Policy Editor, it took me a while to find the PnP setting. The correct location is: Computer Configuration\Administrative Templates\System\Device Installation\Allow remote access to the PnP interface.
Run gpupdate on Hyper-V Server 2008 R2 computer.
Powercfg při 40% baterie vypnout
40%
Powercfg -setdcvalueindex scheme_balanced sub_battery batlevelcrit 28shutdown
Powercfg -setdcvalueindex scheme_balanced sub_battery batactioncrit 3
And from powershell, it's possible to monitor UPS state and battery levels...
get-wmiobject -class CIM_Battery -namespace "root\CIMV2"
Štítky:
Hyper-V
Přihlásit se k odběru:
Příspěvky (Atom)
