Last active
April 23, 2018 07:35
-
-
Save Celoxocis/133edffbd866ed8aa9b6144fc34e82fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true | |
Get-VMNetworkAdapter -VMName <VMName> | Set-VMNetworkAdapter -MacAddressSpoofing On | |
Format-Volume -DriveLetter $driveletter -NewFileSystemLabel $drivelabel -FileSystem NTFS -AllocationUnitSize 65536 –Force -Confirm:$false -UseLargeFRS | |
fsutil fsinfo ntfsinfo d: | |
Enable-VMIntegrationService - Name 'Guest Service Interface" -VMName VMName | |
Copy-VMFile -Name DEMO01 -SourcePath C:\Inst\some.iso -DestinationPath 'C:\VMCopyFiles\some.iso' -FileSource Host -CreateFullPath | |
PS C:\> Copy-VMFile "Test VM" -SourcePath "D:\Test.txt" -DestinationPath "C:\Temp\Test.txt" -CreateFullPath -FileSource Host | |
Get-VM * | Set-VMMemory -DynamicMemoryEnabled $True -MaximumBytes 8GB -MinimumBytes 256MB -StartupBytes 512MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment