How to create the new folder in the title of data centers

I have a data center called 'DR', which I can't seem to create a folder under the root with PowerCLI. Whenever I try to try: new-folder-name-location Test (Get-Data Center DR) it does not place the folder everywhere perceptible in the GUI. I only see it if I do: Get-folder or Get-file-name Test.

Any help would be appreciated.

Thank you.

You are in the computers view virtual and models of vSphere Client by chance?  Because the file is not there.  It'll be in the hosts and Clusters discovered.  You can tell by the 'Id' of the folder property in your screenshot.  The 'h' in "File-group-h265" essentially tells the view of "Hosts and Clusters".  You should see a 'v' here instead of him was in the models and virtual computers discovered.  An excerpt from the "New folder" command help page for help:

-Map

Specify a container object (for example, a folder, a list of resources and so etc.) where you want to place the new folder. If a data center is specified for the - Location parameter, then the file is created in the folder "hostFolder" and contains hosts and clusters. The "hostFolder" is a system folder and is guaranteed to exist.

Since a data center can contain folders, objects VM and host and cluster, you must specify what "view" to create your folder in.  There are some files hidden (for lack of a better term) that technically the child objects are data centers.  We're called 'vm' and another is called 'host '.  So, if you were to run this command:

Get-Folder vm

You should get a record returned for each datacenter, you (and all the folders that you simply named 'vm' because the folder names need not be unique).  You could also run ' host of Get-file ' and also to get a folder of "host and Cluster view" for each datacenter you have.

Given that the cmdlet New-folder by default is the 'host' of the data center specified folder, a way you could force it to be created in the "vm" folder with a command like this:

Get-Folder vm | ?{$_.Parent.Name -eq "DR"} | New-Folder "YourNewFolderName"

Maybe it's not the quickest way to accomplish the task, but it should work for you, assuming that my intuition need you according to the evil the vSphere Client inventory is correct, of course.

Tags: VMware

Similar Questions

  • How to create a new folder in the voice tab 7 hp slate

    How to create a new folder in the voice tab 7 hp slate?

    I wish to cretae a folder in my home page.

    Please help me...

    Hello and welcome to the HP support community!

    You want to organize your icons in folders, or put a shortcut of data on your home page folder?

    The first is easy, this last not so much.

    Just hold your finger on an icon, and then drag it on another similar icon.  A "folder" will be done with the name "unnamed file".  Press and hold the words to change the name of the folder.

    I'm not aware of a way to file a record of data on the homepage...

    WyreNut

  • Smartphones blackBerry how to create a new folder in the video folder in the media

    Hi, I'm trying to figure out how to create a new folder in the video folder in the media. I can easily create new folders in the pictures folder, but not in the videos... Why? Thanks in advance for your help.

    well I'm sorry, I think that I have not read your emails correctly.

    The media application doesn't care about records at all. It will read the files, the tags when they are available, playlists, but it will not show the files. with the exception of the pictures.

  • How to create a new folder?

    original title: creating folders

    How to create a new folder?

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-new-folder

    Create a new folder

    Folders are a convenient way to store and organize files on your computer. For example, you probably want to create folders in the Documents and images to help you manage your files. You can create an unlimited number of folders and even store folders inside other folders. Folders located inside other folders are often called subfolders.

    1. Navigate to the location (the desktop or a folder) where you want to create a new folder.

    2. Right click on an empty space on the desktop or in the folder window, point to new and then click folder.

    3. Type a name for the new folder and press ENTER.

    http://www.Dummies.com/how-to/content/create-a-folder-in-Windows-Vista.html

    Create a folder in Windows Vista

    http://www.ehow.com/how_2073272_create-folder-Windows.html

    How to create a folder in Windows

    The information above will help you.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to create a new folder on the C drive

    I have Windows XP

    Although you can follow these instructions, usually the place to create documents and folders is in My Documents (just so that you have all your documents created by the user in the same place).

    I suspect that the reason why the instructions you have put my site in the root of the drive is to make it easier for the person who writes the directions when they eventually save you from things here.

    Click Start, click My Documents.  This opens a Windows Explorer window, displaying the contents of your My Documents folder.

    Depending on how your computer is set up (and which version of Windows you are using), you can see a blue column on the left side of the window with the title "file and folder tasks.»  See this image: http://onlineitpro.com/wp-content/uploads/2007/12/mydocs.png

    If you have the blue column, simply click on the link that says "make a new folder".  A new folder appears at the bottom of the list in the right pane with the mention "New folder" highlighted.  Just type my website and press Enter and the new folder will be renamed my Web site.

    If the blue column does not appear, simply click on file (upper-left), and then New and then folder.  It is exactly the same only by clicking on the "New folder" link in the column of file and folder tasks.

    If you want to follow directions exactly, after you click Start > My Documents, just type C:\ in the address bar and click on the Green Go button.  This will change the display of your My Documents folder to the location where the instructions as you put the folder.  Then follow the rest of the instructions above.

  • How to "create a new folder on the hard drive?

    I have a printer Hp 648 with a W98 CD, that will not work for XP.  To download the XP driver on the HP site, the first step is to create as above.  Do not have any idea how I can do this and can't find anything in help.  Must be a folder that begins with c:\.

    On C:?  In run, type in "c:".  Explorer will open and you will be in the root directory, alias 'hard drive' c:.  You can then make a record here.  You know how to do this, right?  Thus, the file will be located at c:\hithereiamafolder.  Very easy.  Type c:.  Make the folder.

  • How to create a new folder in the registry.

    I'm following the instructions to solve my problem in the installation of the USB modem byArticle ID: 883356 .

    When I opened the registry there is no folder "Modem" under "Services" of the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Modem subkey.

    So I can't do the solution needed to solve my problem of installing a USB modem.

    Help, please.

    Simply create it. Right-click on the key Services and choose new - key and rename
    It (right click - renaming).
     
    --
    ..
    --
    "Daddybear20" wrote in message news: 4cd2203e-ed7b-4efe-9e42-5174c7957d4e...
    > I'm following the statement to solve my problem in USB modem
    > throughArticle installation ID: 883356.
    >
    > When I opened the registry there is no folder "Modem" under "Services" of
    > the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Modem subkey.
    >
    > So I can't do the solution needed to solve my problem of installation of a
    > USB modem.
    >
    > Please help.
    >
     
     
  • How to create a new folder of bookmarks

    I want to create a folder for the specific web sites such as the media, local government, etc.

    See this KB article - https://support.mozilla.org/en-US/kb/bookmark-folders-organize-your-bookmarks

  • How to create the filter by date of request for access using database connectivity tool

    Hello

    I had started my project by reading the access data, using a UDL connection,

    but now I want to create a filter for access by using a query that would select two dates and get all the corresponding data, how to query using SQL Parmetrized?

    Best regards

    Note: I do not know the SQL language

    Hi salim_mjs,

    You must use the date format that I have used. It is independent of the format in your database. It should be "month/day/year".

    Mike

  • How do I create a new folder in the Windows Photo Gallery unless it becomes a subfolder of an existing one?

    I don't know how to create a new folder in the Windows Photo Gallery that only becomes a subfolder of an existing folder. Can anyone help?

    I don't know how to create a new folder in the Windows Photo Gallery that only becomes a subfolder of an existing folder. Can anyone help?

    ==========================
    Something to try...

    In the upper part of the navigation pane (left pane)
    you see... All Photos and videos?   Right
    Click on "All Photos and videos" and the
    menu... Choose... 'Create a new folder '.

  • How can I create a new folder of 'This PC'?

    I just got a computer of windows 8 and I want to know how to create a new folder for my games in the section 'this computer '. Whenever I have try yo it puts just the folder in another when I want it with all the others. Thank you

    Hello

    This article may interest you:
    Hope this helps, good luck :)
  • Moving files: I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    Hello

    Go t the location where you want to create the new folder, right-click and select new/folder. Name the folder.

    Go to where the files, select the files and then use the right mouse button to drag the files into the new folder. When you drop the file, a pop-up menu, select the Move option.

    Let us know if you have any other questions.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • I can't create a new folder. I don't know why. I click on new folder and nothing happens not either new folder appears in the menu when I right click. Someone knows how to fix this?

    For some reason, I am unable to create a new folder on one of my readers. When I click on new folder, nothing happens and if I right click in a box empty when the menu appears, new folder, I don't have the option of the new folder. I have no idea how to solve this problem. Does anyone have any suggestions. Thank you.

    What happened a bit in the past, but we see a lot more often recently.
     

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html
     
     

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.
     

     
  • How to create the new folder on Oracle UCM?

    Hello

    After that I start the UCM_server I can't find how to create the new folder and I can't find the record of the 'Contribution records '. as shown in the attached picture.

    ucmfolder.JPG

    Hello

    Is it a new installation? You can configure the WCC with folder folder_g or framwork. You can use Server Admin-> component for Manager screen set up. It is recommended to use the framework with version dot 8 for optimizing the performance and scalability.

    About java applet question please check forums UCM browser compatibility issue

    Internet Explorer
    1. Click on Tools , then Internet Options
    2. Select the Security tab, and then select the custom level button
    3. Scroll to script Java applets
    4. Make sure the enable radio button is checked
    5. Click OK to save your preferences
    Chrome

    Chrome 42 version and more. From Chrome version 42 (released in April 2015), Chrome has disabled the way the browsers support plugins. More information

    Firefox
    1. Open the Firefox browser or restart it if it is already running
    2. In the Firefox menu, select Tools, and then click the option Add-ons
    3. In the Add-ons Manager window, select Plugins
    4. Click on plugin Java (TM) Platform (Windows) or the Java Applet plug-in (Mac OS X) to select the option
    5. Ensure that the option selected is Ask to activate or enable always or on older versions of Firefox, click the Activate button (if the button is disable, Java is already enabled)
    Safari
    1. Click on Safari and select Preferences
    2. Choose the Security option
    3. Select allow Plug-ins, and then click manage the Web site settings
    4. Click on the Java element, select an option (Ask, authorize or allow always) in the drop-down list When you visit other Web sites
    5. Click done, and then close the Safari preferences window
    Opera 4.x and Up
    1. Opera for Windows does not use Java, but an embedded already inside the Opera Web browser version.
    2. Opera for other platforms can supports Java. Please consult your Opera Platform documentation.
    3. For more information, please see the following Opera support article:
      Support for the Java software at the opera

    Thank you

    Amey

  • lost the ability to create a "new folder".

    After I closed the Sunday evening I had the "not - or disconnect - 2 updates. Monday, I discovered that I had lost the ability to create a "new folder"!  By clicking on the "new folder" button does nothing.  Do a right click in the box brings up a drop down window that does not list "new folder" in "new...". "No one knows what happened or how to make the"new folder"button to work again?  Thanks for any help.  Abbi

    Hello

    Thanks for the post.

    It seems that you are facing problem with performances of the computer after the installation of Windows updates. We need a few details to help the issue, please answer the following.

    What version of Windows operating system do you use?

    Check out the following link and check the status of the issue.

    You can check the link following, if you use the Windows XP, Windows Vista and Windows 7.

    New command missing in Windows Explorer.

    http://support.Microsoft.com/kb/180257

    Important:  This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows.

    I hope this helps.

Maybe you are looking for

  • OpenVpn

    Hello. Since IOS upgrade to version 9.x (Iphone 6plus), OpenVPN can not be routed? Today upgraded to IOS 9.3.1 still no luck. Whole body experience and solve this problem? Please notify. Thanks and greetings Win

  • Need to access Code for an old hotmail account

    Hi guys,. I have an old hotmail account which I had linked to my new. But recently its been hacked (sad, I know), but when I initially set up another email address, it's a friend - this account is now closed and cancelled, and now I can not on my acc

  • Time clock

    My clock is stuck on military time and I can't change it someone can help me please

  • The printer (Lexmark x 5470) cannot communicate with the computer (Windows Vista Home Premlum)

    The printer (Lexmark x 5470) cannot communicate with the computer (Windows Vista Home Premlum).  I tried these solutions below, but it still does not: 1. ensure that the printer is powered. 2 disconnected then reconnected the power cable from the pri

  • remote control for the hypervisor?  How?

    Excuse my ignorance, this is my first virtual and I hit a roadblock.  I managed to install free vsphere on my server and created a virtual machine with microsoft server 2008 on it.  I can connect to the hypervisor in-house with vSphere client fine bu