This file contains 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
$NewVMParams = @{ | |
'VMHost' = 'vw-esx12.mediconnect.net' | |
'Name' = 'TestMount_Auto' | |
'Datastore' = 'VMFS5_G600_008a_LUN01' | |
'DiskGB' = 20 | |
'DiskStorageFormat' = 'Thin' | |
'MemoryGB' = 4 | |
'GuestId' = 'windows8Server64Guest' | |
'Version' = 'v10' | |
'NumCpu' = 2 |
This file contains 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
"terminal.integrated.fontFamily": "Meslo LG M DZ for Powerline", | |
# Match the font family to what we are using in iTerm2 |
This file contains 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
[System.Enum]::GetNames([VMware.Vim.VirtualMachineGuestOsIdentifier]) |
This file contains 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
$guestOpsMgr = (Get-View $global:DefaultVIServer.ExtensionData.Content.guestOperationsManager) | |
$authMgr = (Get-View $guestOpsMgr.AuthManager) | |
$vm = (Get-VM -Name MacOSX-10.11).ExtensionData.MoRef | |
$credential = New-Object VMware.Vim.NamePasswordAuthentication | |
$credential.InteractiveSession = $false | |
$credential.Username = "lamw" | |
$credential.Password = "vmware123" | |
$authMgr.ValidateCredentialsInGuest($vm,$credential) |
This file contains 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
$esxi_name = "192.168.30.10" | |
$portgroup_name = "vMotion" | |
$hostsystem = (Get-VMHost -Name $esxi_name).ExtensionData | |
$networkSystem = Get-View $hostsystem.ConfigManager.NetworkSystem | |
$nic = New-Object VMware.Vim.HostVirtualNicSpec | |
$ip = New-Object VMware.Vim.HostIpConfig | |
$ip.Dhcp = $false | |
$ip.IpAddress = "192.168.1.10" | |
$ip.SubnetMask = "255.255.255.0" |
This file contains 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
[alias] | |
lg = !"git lg1" | |
lg1 = !"git lg1-specific --all" | |
lg2 = !"git lg2-specific --all" | |
lg3 = !"git lg3-specific --all" | |
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' | |
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' | |
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)' |
This file contains 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
guestinfo.vsm_hostname = "nsx-mgr" | |
guestinfo.vsm_gateway_0 = "192.168.110.2" | |
guestinfo.vsm_dns1_0 = "192.168.110.2" | |
guestinfo.vsm_netmask_0 = "255.255.255.0" | |
guestinfo.vsm_cli_en_passwd_0 = "VMware1!" | |
guestinfo.vsm_isCEIPEnabled = "False" | |
guestinfo.vsm_isSSHEnabled = "True" | |
guestinfo.vsm_cli_passwd_0 = "VMware1!" | |
guestinfo.vsm_ipv6_0 = "" | |
guestinfo.vsm_ntp_0 = "pool.ntp.org" |
This file contains 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
guestinfo.hostname = "esx01" | |
guestinfo.vlan = "" | |
guestinfo.ipaddress = "192.168.110.51" | |
guestinfo.netmask = "255.255.255.0" | |
guestinfo.gateway = "192.168.110.2" | |
guestinfo.dns = "192.168.110.2" | |
guestinfo.domain = "fatpacket.lab" | |
guestinfo.ntp = "pool.ntp.org" | |
guestinfo.ssh = "True" | |
guestinfo.syslog = "" |
NewerOlder