How can I specify a pathname in get-file?

I use version 5.0 of connection of a vCenter version 5.0.

My VMs are organized in several files with some folder names that occur several times in the hierarchy.

For example:

DCNAME - AAA - XXX

-BBB - XXX

-XXX

How to invoke get-file to access each of the XXX files above?

I tried

Get-file 'Datacenters\dcname\vm\AAA\XXX '.

Get-file '\Datacenters\dcname\vm\AAA\XXX '.

Get-file 'data centers/dcname/vm/AAA/XXX ".

Get-file ' / data/dcname/vm/AAA/XXX centers. "

Each of the above gives me an error "not found".

Is what I'm trying even possible using get-file?

The documentation seems said that only one name is allowed and not a full path to this name.

If get-file cannot do what I need, has someone already written a script for this function?

In my research I found the Get-FolderPath of LucD function.

Thanks for any help

Looks like I'm not not looking for long enough before posting.

I found excellent function of Get - FolderByPath (LucD) to

http://www.lucd.info/2012/05/18/folder-by-path/

Tags: VMware

Similar Questions

  • How can I specify location of the control file when the manual creation of DB?

    DB version: 11.2.0.4

    OS: Oracle Linux 6.6

    The CREATE DATABASE command creates the control file.

    CREATE DATABASE command is executed once you start the instance in NOMOUNT State as shown below.

    SQL > startup nomount pfile=$ORACLE_HOME/dbs/initBRCPRD.ora

    SQL > create database 'BRCPRD '.

    MaxInstances 32

    MAXLOGHISTORY 1

    maxLogFiles 192

    maxlogmembers 3

    ..

    .

    .

    < snipped >

    When you create the database manually, we can define the control_files parameter in the init.ora as below and control file will be created at this location. Right?

    control_files = ("" / u01/oradata/BRCPRD/BRCPRD_control01.ctl","/u01/oradata/BRCPRD/BRCPRD_control02.ctl "")

    When I was generating the DB using DBCA GUI creation scripts, it asks to enter the location of the Online redo logs and control files.

    I entered my desired location. But, I couldn't find CONTROL_FILES parameter in the init.ora file generated the DBCA. This is why I got confused. I think that DBCA is internally somehow. So thought I'd post it here.

    Hi John, OP

    Just checked the init.ora file created by DBCA. Although the parameter CONTROL_FILES is undefined, db_create_file_dest = '+ DATA_DG1' was created. OMF default location is defined by the db_create_file_dest parameter.

    So, I could safely use this script for the manual creation of DB, and during the CREATE DATABASE command execution, oracle will place CONTROL_FILES + DATA_DG1 using the format;

    +DiskGroup/dbname/filetype/filetypetag.file.incarnation

  • When you open a new tab, how can I specify a site or empty? My open tabs to a site I want to see.

    When you open a new tab, how can I specify a site, the home page or empty? My new tabs open to a site that I don't want to see.

    This can be done easily.
    Just install the addon FEATURE My Homepage

    You can get it here:

    https://addons.Mozilla.org/en-us/Firefox/addon/my-homepage

    I hope this helps.
    Thank you!

  • How can I specify the languages supported for an Android app?

    I downloaded my APK created with air in the console Android developers and it seems that the list of supported languages is the default (15 languages), see image:

    http://imgur.com/67MxVKI

    My app only supports 9 languages, how can I specify only 9 languages who takes care of my application? FFI

    There are specific tags, I need to add in the Android manifest additions in the application descriptor?

    Any pointer in the right direction will be appreciated, thanks.

    From Adobe AIR added 3.8 supportedLanguages for the descriptor tag xml app that would filter by default all languages:

    en

    It really works on iOS by filtering locations that get wrapped in the .ipa so Apple does not automatically list all languages, that adobe is located in the runtime in captivity. I expect this to have an effect on Android, if you have not already added this explicitly in the application descriptor.

  • How can I specify the Page size when exporting PDF in CS5?

    Hi all

    I just upgraded to ID CS5 and I'm really impressed with the improvements. Of course, however, some aspects take a few adjustments that brings me to my question. How can I specify the size of the "printed" page when you export a PDF file? Basically, in CS4 I could set up a document to have, for example a page size of 20x20cm. I could then print it in PDF format and select a page A4 format. This meant that I could get my printer to print the document of 20 x 20 irregular size on a standard paper size and include benchmarks of crop etc. In CS5, I cannot get ID to export the pages that they are configured (i.e. 20x20cm).

    I don't know I must be missing something obvious here, someone has any ideas?

    I hope that I managed to explain my problem clearly enough and we hope to hear from someone soon. Thank you very much in advance for any help you can provide!

    Gavin.Fraser wrote:

    As a student of architecture, I'm pretty new to publication. My main need is for portfolio presentations and also my thesis work. So far, as mentioned earlier, before CS5 I was printing to / check-in PDF directly from ID without problem. For some reason any (and I stil have not thought to it yet) it seems the only way I can get the PDF of ID files is to create a Postscript file, open with Preview (I use a Mac) and then save as PDF.

    Try file > report > Adobe PDF (Print)... to make a PDF file you can print from Acrobat or Reader. You will have several presets of your choice, or you can use your own options if you have settings that you prefer, which will make a PDF suitable for different types of printing scenarios. For digital output instead of a commercial press, a ggod preset choice would be of high quality printing, but you can even use the same jopoptions or settings file you were using to print directly to PDF in the past.

  • How can I cancel a subscription and get a refund? An application does not work, the "assistance of the developer page" link provided by itunes is broken.

    How can I cancel a subscription and get a refund?

    An application does not work, the "assistance of the developer page" link provided by itunes is broken, and email provided by the application developer's sole means of support, but no response in 3 weeks to multiple addresses.

    The page you posted has since how to stop an auto-renewal subscription to renew again (see, change, or cancel your subscription - Apple Support).

    To contact iTunes support try http://reportaproblem.apple.co or https://www.apple.com/emea/support/itunes/contact.html

  • How can I specify cookies that I want not deleted when the private browsing session?

    I want to use Private Browsing all the time, but want to keep certain cookies as my sign in info for hotmail.com and some banking newspapers in info. How can I specify cookies that I don't want to not deleted?

    You can protect specific cookies with CookieCuller extension.
    The cookies are protected in this extension, so otherwise (clear recent history) will still remove them.
    You can leave all cookies expire if you close Firefox and keep protected cookies.
    If you use build-in Manager the cookie then you can do exceptionally allow for a specific domain, but CookieCuller can protect specific cookies.

  • How can I delete my documents and get rid of my thinkpad with windows 95?

    How can I delete my documents and get rid of my thinkpad with windows 95?

    If there is anything physically wrong with your computer, you can use Darik Boot and Nuke (DBAN aka) to make a scrub of the security of your HARD drive. Glance to download here.

    This will leave Nothing on the HARD drive. You can take the time to reinstall an operating system, but at the very least, the new operating system should be Win 98SE or higher.

  • How can I specify VISA as the interface of the wizard of IVI instrument driver?

    After a long hiatus and to reinstall on a new hard drive, I resumed an IVI driver development. Previously, when I experienced, I was able to generate a driver that uses the API of VISA.

    Now, on this new installation, when I start the wizard, the only choices I have are Gbspecifications FOR, serial and VXI (message and registry).

    How can I specify VISA?

    Hey Frog,

    As this measure Studio LabWindows/CVI Instrument Driver Developer Guide , VISA i/o interface is the mechanism through which the pilot communicates with the hardware of the instrument. The IVI Instrument Driver Wizard allows you to only select among GPIB, VXI and series more specify the interface for your instrument.

    I hope this information helps!

  • How can I restore cursor arrow to get rid of the hand? Thank you.

    How can I restore cursor arrow to get rid of the hand? Thank you.

    Hello

    -Did you change on your computer before the show?

    I suggest you to follow the steps in this article and check if that helps.

    To change the appearance of your mouse pointer

  • How can I specify a default client in Windows 7?

    * Original title: default mail Client

    How can I specify a default client in Windows 7?

    I used to use Mozilla Thunderbird but uninstalled because I do not use it.

    I assume you are using a browser to access your mail now.  Browsers cannot be set as the default e-mail client, because they are not a mail client.

    To set another default e-mail client, you go to control panel > default from the applications > set the default mail client

  • How can I specify what qml in my application is a card?

    I want to my request to have a card that can be called by other applications via the menu share. I have the basics down what must be the configuration xml file as to put my application in the menu share interest. But in my own application, how can I specify what queue qml is the card?

    You expect the invoked() signal, then create your document root and call setScene in there, instead of in the constructor of your application.

  • How can I specify the file types to be included in a library in Windows 7?

    How can I specify the file types to be included in a library?  For some reason any overall my library it shows ALL files and not only the documents in the document library, the music in the music library and the pictures in the picture library.  In other words in my document library, it is also show all my music and my photos, in my music library, that is to show all my documents as well as all my photos etc.  I know I have to do something wrong but does not know what it is.  Can someone help me please?

    * original title - libraries and some type of file

    Hello

    Libraries should show only the files that are contained in the files that you add to this library.

    Example:

    In Windows Explorer, select the Document library.

    In the window display on the right, click the link x sites in the top/left of the window.

    This will open a dialog box displays all the folders that have been added to this library.

    By default, the Library of Documents should show the folders My Documents and public records .

    If there is other records showing that you don't want in this library, Select the folder and click on the Remove button.

    You can also right click the documentslibrary, in the Part of Navigation and select Properties. At the bottom of the Properties dialog box, click on the button by default is restore to remove all additional files have been added.

    Tell us what you find.

    Concerning

  • How can I specify project settings that differ from my source footage?

    I want to create a project in Premiere Pro 2015 CC which is 1920 x 1080, but my source of the layer film is all 2.7 K and 4K.  I want to use this extra resolution in the source footage of the layer for the digital zoom and the effects.  When I created the project, it does match the size / resolution of the source footage.  How can I specify 1920 x 1080 in advance?

    N ° you go to the File menu > New > sequence and when the new sequence pane opens, you choose an existing previously set sequence, or create a custom one that defines the parameters of the sequence on what you want your movie to be.

    Once you are done, click OK and a new empty sequence will be created that contains the settings you have chosen.

    The first time you change your source in this empty sequence material, you will be asked to match the settings of your source material - choose to keep the existing sequence settings and continue.

    When you place your size source material more 1920 x 1080 on the timeline, it cannot display the full of the source clip - if so, frame size select the clip on the timeline, and then right click on it and in the drop-down menu choose set to the size of the image.

    MtD

  • I had photoshop on my windows now the graphics card has gone bad and you want to move to my MAC I pay every month and I am a student, so, how can I transfer accounts until I get a new computer

    I had photoshop on my windows now the graphics card has gone bad and you want to move to my MAC I pay every month and I am a student, so, how can I transfer accounts until I get a new computer

    If you are on subscription, you just install it on your new computer and sign in with your ID Adobe that you used to buy PS when you arrive up to two installs, it will tell you that you have exceeded you install limit and asks if you want to disconnect other computers. Just so disconnect you. No need to have to disable or call Adobe!

Maybe you are looking for

  • Problems to submit again podcast

    I try to present a new podcast.  Through iTunes, I click on submit a Podcast.  It redirects me to podcastsconnect.apple.com in a browser.  I log in there with my Apple ID.  After I connect, the site never fully charge and continues to cool off, makin

  • Tecra A10 - 1GW (PTSB1E) - update of the firmware & chipset failed

    Hello! in fact, I have two problems on my laptop (32-bit) windows 7: Burning programs do not find my burner (called 'MAT * a DVD-RAM UJ880AS' Device Manager) and even the [update of the firmware | http://de.computers.toshiba-europe.com/innovation/dow

  • Satellite C660-1LD and OpenGL video card

    Hello I bought a program that needs a graphics card with openGL driver - how do I know if my laptop has this? If it is not person knows if I can get one and if so where to go? Also how can I update the driver on my laptop (if I need because I think t

  • Satellite L670 - unplugged during the installation of the initial start-up

    HelloWhen I started up my new Satellite Pro L670/L670D power has been cut and installation was incomplete. When I turn on the computer it comes up with an error message as the instalation is clearly incomplete. What can I do to fix this?

  • HP Photosmart C4780: Photosmart printer keeps going offline

    HP Photosmart C4780 randomly disconnects.  I connect the printer cable to my Macbook Air running OS X Mavericks. (It allows to print wirelessly, but I had so much trouble now 'online' I dropped and now just plug in when I need to print.) Printer will