WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / vSphere / Updated Character Limits for vSphere Objects

Updated Character Limits for vSphere Objects

04.22.2021 by William Lam // 3 Comments

I recently saw a question asking about the character limit for the various vSphere Inventory Objects like a Datacenter or Virtual Machine as an example. I was not aware of anything formally documented, but I did come across this 2018 blog post by fellow colleague Todd Simmons, who did some testing with vSphere 6.7 and shared his initial results.


I was curious myself on whether these limits have changed but I also noticed there were many other vSphere Objects that were not tested. I figured this would be an interesting exercise to re-evaluate against the latest vSphere 7.0 Update 2 release and using some PowerShell code like the following to help:

$str = "w" * 80

Below are my findings which have been verified using the vSphere UI and I have also expanded the object list to cover more recent solutions such as vSphere with Tanzu.

Object Limit
Cluster 80
Content Library Item 80
Content Library 80
Custom Attribute 80
Datacenter 80
Datastore Cluster 80
Datastore 80
Distributed Virtual Portgroup 80
Distributed Virtual Switch 80
Folder 80
Guest Customization Spec 255
Host Profile 80
Resource Pool 80
Role > 30K
SSO Group (400) 450 (can't delete)
SSO Username (400) 450 (can't delete)
Standard Virtual Portgroup 82
Storage Policy Component 80
TKG Guest Cluster 41
Tag Category 80
Tag 80
VM Storage Policy 80
VM Template 80
VM 80
Virtual App 80
Virtual Standard Switch 31
vSphere Namespace 63

More from my site

  • USB Network Native Driver for ESXi Fling supports ESXi 7.0 Update 2
  • Automated Lab Deployment Script for vSphere with Tanzu using NSX Advanced Load Balancer (NSX ALB)
  • Simplified Nested ESXi installation in ESXi 7.0 Update 2 using HTTP Boot over VirtualEFI
  • ESXi 7.0 Update 2 enhancement for USB NIC only installations
  • Aquantia/Marvell AQtion (Atlantic) driver now inbox in ESXi 7.0 Update 2

Categories // vSphere, vSphere 7.0, vSphere Web Client Tags // vSphere 7.0 Update 2

Comments

  1. *protectedChristian Wörtz says

    04/23/2021 at 2:27 am

    That is nice to know, but regarding limits, we have a problem with ESXi hosts: no more than 280 are allowed in one folder! But we have 400. So we need to build a needles folder structure. Are there any changes in the near future?

    Reply
  2. *protectedCraig says

    01/12/2023 at 12:08 am

    Many thanks for this article - very interesting.
    Did you find any issues where the ESXi host limit is shorter than the vCenter limit?
    For example, if you connect to an ESXi host you can't create a Datastore name with more than 30 characters. If you create one of 50 chars in vCenter is that likely to cause issues when working with the host directly?
    Thanks

    Reply
  3. *protectedAnand Singh says

    09/30/2024 at 2:41 am

    Is there a way to change these limits. We have an application that keeps creating file name larger than 150 characters. It would be really helpful if we can somehow change the limit from 80 to 200. Any help would be really appreciated

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...