Home
Pure Storage
VMware
Categories
Tags
Series
Acclaim
About
  • PowerCLI - Extend VMDK and Guest OS

    Apr 2, 2015 PowerCLI Storage
    Share on:

    So as always things change across multiple Window’s operating systems and VMware revisions. I had a need to extend the drives on about 50 VMs today and really didn’t want to do all that clicking. I remember awhile back it was easy to do this with a Basic Set-Harddisk and use the -ResizeGuestPartition but alas that has been removed from the current functionality. So I took my search to …

    Read More
  • PowerCLI - Troubleshooting Multiple Default Servers

    Jan 29, 2015 PowerCLI
    Share on:

    I use a customized version of http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/ by Alan Renouf to connect to multiple servers. However a coworker of mine was trying to run it, and the script would only return data from the 2nd vCenter we were connecting to. Doing some troubleshooting we noticed their DefaultVIServerMode was set to single. This means that only a single servers connection will …

    Read More
  • PowerCLI - Enable CPU and Memory HotAdd

    Jan 14, 2015 PowerCLI
    Share on:

    I had a need to enable CPU and Memory hotadd to many virtual machines prior to a template being updated, doing some research there is no easy way, however there are some functions out there to do it. You can copy and paste each function into a powershell window and then run the associated command. 1Enable-MemHotAdd $ServerName 2Disable-MemHotAdd $ServerName 3Enable-vCPUHotAdd $ServerName …

    Read More
  • Sysprep runs repeatedly on virtual machines deployed to ESXi 5.1 build 1743533

    Jul 8, 2014 PowerCLI Sysprep vSphere 5.1
    Share on:

    We had a strange issue that any time a VM was snapshotted it then forced a reboot and sysprep. Reviewing the customization logs(C:\windows\temp\vmware-imc\guestcust.log) I noticed the following error..Unable to set customization status in vmx. Upon further research it seems this is a known issue and is resolved in ESXi 5.1 Express Patch 5 KB2077640 as referenced in this article KB2078352. However …

    Read More
  • Configuring ESXi 5.5 Dump Collector

    Jun 10, 2014 PowerCLI Dump Collector
    Share on:

    Thank you to everyone who listened to me on the EMEA vBrownbag. Here are copies of documentation and scripts on how to configure ESXi to use the remote dump collector. Check the ESXi Dump Collector Configuration Example: 1Foreach ($vmhost in (get-vmhost)){ 2$esxcli = Get-EsxCli -vmhost $vmhost 3$esxcli.system.coredump.network.get()} Setting the ESXi Dump Collector Example: 1Foreach ($vmhost in …

    Read More
  • Configuring ESXi 5.5 Syslog Collector

    Jun 10, 2014 PowerCLI Syslog
    Share on:

    Thank you to everyone who listened to me on the EMEA vBrownbag. Here are copies of documentation and scripts on how to configure ESXi to use the Syslog collector. Check the ESXi Syslog Collector Configuration Example: 1Foreach ($vmhost in (get-vmhost)){ 2$esxcli = Get-EsxCli -vmhost $vmhost 3$esxcli.system.syslog.config.get()} Setting the ESXi Syslog Collector Example: 1Foreach ($vmhost in …

    Read More
  • Create VMFS Datastore Using PowerCLI

    May 22, 2014 PowerCLI Storage
    Share on:

    For upcoming testing there was a need to create 140 datastores on a cluster for testing. Who wants to do that much clicking and typing? Not me! You can use the below PowerCLI commands to get the SCSI ID’s, Create the Datastore and then Rescan all hosts in the cluster. How do i get the CanonicalName for allocated disks? 1Get-SCSILun -VMhost 192.168.1.103 -LunType Disk | Select …

    Read More
  • Get NAA.ID for Virtual Machine RDM's in VMware

    May 6, 2014 PowerCLI Storage
    Share on:

    This is a great script to keep handy. If you have multiple RDM’s on a VM and need to get the NAA_ID for them the below PowerCLI command will get you that information. 1Get-VM VMNAME| Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName,CapacityGB | fl If you then need to match the SCSI virtual disk to the Guest OS this …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»
a blog about virtualization, storage and stuff

Recent Posts

  • What's New in Pure1 VM Analytics and OVA Collector 3.0
  • Backup and Restore Kubernetes Applications Using Portworx
  • Deploying a Linux EC2 Instance with Hashicorp Terraform and Vault to AWS and Connect to Pure Cloud Block Store
  • Using Pure1 Meta for Intelligent Datastore Selection and VM Provisioning
  • Deploying a EC2 Instance with PowerShell to AWS
  • Deploying a Windows Azure VM with Hashicorp Terraform to Microsoft Azure
  • Deploying a Windows EC2 Instance with Hashicorp Terraform and Vault to AWS
  • Unable to Sync vLCM Updates - Error: 'integrity.fault.HostPatchInvalidVendorCode'

Copyright ©  DAVIDSTAMEN. All Rights Reserved.      Privacy Policy