SYSTEM/Windows
[Windows] VM 자동 생성 powershell script
Hyper-v 클라우드 환경에서 일괄적으로 여러대 VM을 생성해야할때 유용한 powershell script. # 메모리값 입력 $Mem = Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName . Write-Host "MemoryInfo :"$Mem.FreePhysicalMemory"/"$Mem.TotalVisibleMemorySize # 전체 타이머 시작 $ElapsedTotal = [System.Diagnostics.Stopwatch]::StartNew() for($i=10; $i -le 10; $i++) { # 루프단위 타이머 시작 $elapsed = [System.Diagnostics.Stopwatch]::S..