AutoDeploy Add-EsxSoftwareDepot of network location

I am currently implementing AutoDeploy on Cisco's UCS servers using the script of alanrenouf as a base. I want one of my co-workers to be able to run the script from their local workstation. Where I encountered a problem, it is with the Add-EsxSoftwareDepot cmdlet with the repository on a network share. The deposit is a custom, built with ImageBuilder image that lives on site.

If I use a UNC name I get the error

PowerCLI C:\ > add-EsxSoftwareDepot "\\MyVC\ImageBuilder\ESXi-5.0.0-469512-standard-UCS.zip".

Add-EsxSoftwareDepot: could not download zip:C:\ImageBuilder\ESXi-5.0.0-469512-standard-UCS.zip deposit?

index.XML, jump (('zip:C:\\ImageBuilder\\ESXi-5.0.0-469512-standard-UCS.zip?index.xml', '', "erreur extractions))

index.XML C:\\ImageBuilder\\ESXi-5.0.0-469512-standard-UCS.zip ng: [Errno 2] no such file or directory: ' C

((': \\\ImageBuilder\\\ESXi-5.0.0-469512-standard-UCS.zip' "))

On line: 1 char: 21

+ Add EsxSoftwareDepot < < < < "\\MyVC\ImageBuilder\ESXi-5.0.0-469512-standard-UCS.zip".

+ CategoryInfo: ReadError: (System.String []: String []) [add-EsxSoftwareDepot], Exception

+ FullyQualifiedErrorId: ConnectDepotError, VMware.ImageBuilder.Commands.AddDepot

If I use a psdrive V:

new-psdrive-name V - psprovider-root \\MyVC\imagebuilder file system

I get the error

PowerCLI C:\ > Add-EsxSoftwareDepot "v:\ESXi-5.0.0-469512-standard-UCS.zip".
Add-EsxSoftwareDepot: Pu download no deposit at zip:V:\ESXi-5.0.0-469512-standard-UCS.zip?index.xml, sk
Middle (('zip:V:\\ESXi-5.0.0-469512-standard-UCS.zip?index.xml', '', "erreur fichier index.xml dele de V:\\ESXi-))
«5.0.0 - 469512-standard - UCS.zip: [Errno 2] no such file or directory: «V:\\\ESXi-5.0.0-469512-standard-UCS.zip»»
))
On line: 1 char: 21
+ Add EsxSoftwareDepot < < < < "v:\ESXi-5.0.0-469512-standard-UCS.zip".
+ CategoryInfo: ReadError: (System.String []: String []) [add-EsxSoftwareDepot], Exception
+ FullyQualifiedErrorId: ConnectDepotError, VMware.ImageBuilder.Commands.AddDepot

I get the error even if I cd to V:\ first.

If I copy the same deposit, ESXi - 5.0.0 - 469512-standard - UCS.zip, local to the C:\ drive works fine.

Anyone know what could be going on here or preview?

Thank you

Tim

I know that a local file path or a URL is taken in charge, not sure the UNC or PSDrive.

As much as I know these last 2 are not taken in charge

Tags: VMware

Similar Questions

  • Error 1606. Could not access network location by default.

    Anyone know what this error message 'Error 1606 could not be accessed by default network location', or how to fix it?
    Yes, I know that it is almost the same as http://support.microsoft.com/kb/886549 but this difficulty does not work.

    The newspaper msi shows this when I hit retry:
    Error 1606. Could not access network location by default.
    Error 1606. Could not access network location by default.
    = Logging stopped: 06/02/2012 18:53:30 =.

    1. have you tried all of the methods in this article steps: http://support.microsoft.com/kb/886549

    2. have you made any changes on your computer before this problem occurred?

    3. When you receive this error message?

    4. you install any application?

    This problem occurs because there is incorrect entries in the Shell folder of the user who is logged on to Microsoft Windows. When Windows Installer goes to the sale of Shell folder of the user who is logged on to the computer, Windows Installer cannot locate the correct entry.

    Follow these steps and check.

    The Troubleshooting Manual in the link above steps show 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:
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    a. click Startand then click run.
    (b) in the Open box, type regeditand then click OK.
    c. look for, and then click the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    (If the command is missing, you can add a command)

    d. in the right pane of the registry editor, double-click common administrative tools.
    e. in the value data box, type the following line, and then click OK:
    %ALLUSERSPROFILE%\Start Menu\Programs\Administrative of Directors
    f. on the file menu, click Exit to quit the registry editor.
    g. restart the computer.

    Thank you

  • How can I use Powershell to create shortcuts "File Folder" in the section network location?

    Hello

    I am trying to create a powershell batch file that will create a bunch of shortcuts to files to Sharepoint document libraries network.

    To get an idea, the manual method would be to go to computer--> right click--> Add a network location

    From there, I can enter the path of the URL to a Sharepoint document library and it will create a folder shortcut in this library of documents that allow people access to the library without having to go through Sharepoint to access.  So when the user clicks the shortcut, it opens an Explorer window to view and manipulate the files.

    I found the script next, but it will create a shortcut 'Internet' when I put in the path instead of a shortcut of the file folder. So when the user clicks on it, it just opens the web page.  Any help would be great!  Thank you!

    [Environment]: GetFolderPath ("ApplicationData")
    $path = [Environment]: GetFolderPath("ApplicationData") + '\Microsoft\Windows\Network Shortcuts\ACL Documents.lnk.
    $comobject = new-Object - comObject WScript.Shell
    $link = $comobject. CreateShortcut ($path)
    #targetpath can be the UNC path or physical path to .exe
    $link.targetpath = "https://finance.domain.net/ACL/Shared%20Documents".
    $link. IconLocation = '% SystemRoot%\system32\imageres.dll,137 '.
    $link. Save()

    Thank you

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/en-us/category/SharePoint2010, sharepoint

  • My computer is on a network, but Windows 7 (Pro x 64) shows that it is not. Cannot change network location to home. Cannot use the homegroup.

    I'm putting my network (with homegroup) home, but when I go into control panel > network and Internet > homegroup, it says:

    "This computer cannot connect to a homegroup." Then,

    "To create or join a homegroup, network location of your computer must be on home."

    Okay so. I go to network and sharing Center and click on "connect to a network" and I get a box in the lower right corner that says "no connection available.

    I find that strange, because when I click on 'My Computer', I see in the left pane all the computers in my house under 'Network'... so I'm in network... but I'm not?

    It is a problem because until I am able to add this computer, I am unable to share the data on this computer and it is my office alone AND the pc is connected to my router.

    I can not access my storage drive. I can't stream media.

    All opinions are appreciated. Thank you.

    Hello

    Check the Device Manager for the entry of valid card of the wire.

    http://www.ezlan.NET/Win7/net_dm.jpg

    If there is no valid entry, remove any entry from fake and re - install the drivers for the wireless card.

    Check network connections to make sure that you have a Local Area Connection icon/entry, and that the properties of the icon (right-click on the icon) are correctly configured with the TCP/IPv4 protocol in the properties of network connections.

    http://www.ezlan.NET/Win7/net_connection_tcp.jpg

    Connect you to the menu of the router from a work computer and make sure DHCP is on, and it is configured to assign IPs which can cover the number of computers that are connected (a bit more will be even better).

    Turn off the computer and the router, reset the router and the computer.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    It still does not work, try this too.

    Firewall software.

    Make sure that the software firewall on each computer allows free local traffic. If you use 3rd party Firewall Windows Firewall should be disabled, and the active firewall has adjusted to your network numbers IP on what is sometimes called the Zone of confidence (see part 3 firewall instructions

    General example, http://www.ezlan.net/faq#trusted
    Please note that some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled). If possible, configure the firewall correctly, or uninstall it completely allowing the clean flow of traffic on the local network. If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

    Reset the network stacks .

    Type Cmd in the search text box.

    Press Ctrl-Shift-Enter keyboard shortcut to run a command as administrator prompt.  Allow the elevation.

    Type netsh winsock reset at the command prompt and press the Enter key.

    Do the same process to refresh the TCP/IP, just replace the command typed with.

    netsh int ip reset

    Restart the computer.

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • correct the address to the network location

    I have two Windows PC. The two are running the latest versions of Windows 7 Home Premium.

    It runs on a HP laptop, the other is a virtual PC running on VMware fusion running on Macintosh, but cannot remedy by the same method.

    The HP one I can address network location use - (Public (MYBOOKWORLD (My Book World Edition Network Storage)).

    The Virtual PC, I can only answer same network place - (Public (192.168.1.3 (My Book World Edition Network Storage)).)

    On the Virtual PC when I try to 'Add network location' I get error "the folder you entered is not valid. Try another chosen. »

    As I network set to DHCP dynamic drives, I can lose access to one or more information on virtual PC.

    How can I change so that both computers work the same?

    Hello

     

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

     

    Hope this information helps.

  • network location records gone dead! FTP probs...

    I have 4 folders network in 4 separate servers network locations, today they all work orders and only open a shortcut going anywhere hand. When I try and add a new place called the destination folder ftp://ftp.mysite.co.uk is not valid. Can anyone help.
    These ftp addresses are still available through a software ftp like dreamweaver etc.

    There is an option on right click reverting to an earlier version, looks like they will work so the folder icons turn white and they don't work either.

    Windows 7 pro
    using mcafee antivirus/firewall tried etc who turned off.
    tried a previous restore point - no joy

    OK, ill answer myself.

    http://projectcerbera.com/blog/2011/09/Explorer-FTP

    seems an install chrome changed things in the registry.
    He doesn't understand me, but I did as told in the n link above, it worked. fixed.

    hate chrome ;)

  • Windows 7 network location are not accessible using browse folder

    In windows XP, the network locations added will be in my network in place. But in windows 7, the network locations that I've added will be in 'my computer '. But these network locations are not accessed by using the file browse some software. Thus, it became a problem now. I don't want to use the network card as it will add a drive letter in my computer. How do I add network locations so that it is accessible by using the option to browse the folder.

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand from the description of the question, you aren't able to access the files within the network. I will definitely help you with this problem.

    I suggest you to check the following link to make sure that all parameters be so placed on your computer to share files within the network.

    Sharing of files and printers

    http://Windows.Microsoft.com/en-us/Windows/sharing-files-printers-help#sharing-files-and-printers=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    For reference:

    http://Windows.Microsoft.com/en-us/Windows7/networking-home-computers-running-different-versions-of-Windows#section_1

    I hope this helps. Try the above steps and get back to us for more assistance and with the requested details, if the problem is not resolved.

  • Adding library folder returns an error ""this network location cannot be included because it is not indexed.

    I'm trying to share my MUSIC on my Windows Home Server (WHS) folder in my music library.  Here's how my MUSIC folder is organized:

    MUSIC
    -> Songs1
    -> Songs2
    -> Songs3
    -> Chansons4
    -> Chansons5

    Quite simply structure, so thought that this should not be a problem. If I add the entire folder to the library only 1/3 of my songs are listed. In trying to understand what is happening, I found that only 2 to 5 subfolders under the MUSIC are included (songs.1 and chansons5).

    Again, I deleted the folder "MUSIC" from the library and then add each indivually subfolder. What I found is I might add 2 subfolders (songs.1 and chansons5), but adding that the 3 other subfolders returns an error message, "" the network location cannot be included because it is not indexed".  If I add a new folder under MUSIC I can't add it to the library either.

    I think it should have some type of security or user problem, but can't think of what it would be, since some of the subfolders under the MUSIC can be recognized, while others, including the new folders cannot be added. Someone at - it suggestions?

    I would add that I have no problem with adding my video or picture file to my WHS library.

    Problem has been solved - thought I would post an update if someone of another encounter this type of behavior.

    By continuing to try to understand why only the music files on my server would not be updated I fell into my "homegroup". I checked the settings and noticed that 'MUSIC' was not checked in the "Shared libraries and printers' (don't know why or how). I then checked the box and now I can move my files on the server and the path is updated in the library.

  • Is it possible to delete some network locations not in use? Thank you

    Is it possible to delete some network locations not in use? Thank you

    Are you talking about system preferences-> network-> location-> Edit-> [-]

    or are you talking about the system preferences-> network-> advanced-> preferred networks-> [-]

  • I have IE8 Favorites saved off as bookmark.htm in another network location. How can I get in firefox?

    I have IE8 Favorites saved off as bookmark.htm in another network location. How can I get in firefox?

    Bookmarks > organize bookmarks-> import and backup - import HTML... = HTML file

  • Windows Server 2012R2 - network location awareness continues to change the public domain after rebooting

    I also have this problem but I have domain controllers that are NOT part of this Hyper-V host.  If I restart the network location awareness (which also restarts the network list Service) it goes back to the field as it should.  Now when I reboot this server it will be once more put the interface / network to the public even if this Hyper-V server has been successfully joined to the domain with a static IP address.

    Now for clarification.  This Hyper-V server is NOT yet configured virtual.  The only thing that has been set up is a NIC team with two cards on Board (LAN 3 & 4 ports) and two additional network cards four port card (ports 3 & 4).  Local network connection is dedicated to LAN Port No. 1.  We also have a dedicated of the IMM port for access to the Strip.

    The ONLY time I can get this server to restart and STAY in the 'Domain' location is now if I have the PORTFAST enabled on the switch port to which it is connected.  Yes, we use STP here in our company.  This is not the first time that I had to do this, but it seems not just as a colleague claims that he didn't need to do and its technology Hyper-V server restarts fine.  I him have had check it out and he sees no difference between its servers and mine.  Still mine restarts always in the "public" unless I have active portfast.  Any thoughts?

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • the network location cannot be reached

    Trying to access a shared file on the windows Server 2008 from my PC, I got an error (the network location is not reachable...). But however when I try to access a file share on this server windows 2008 to my PC or the other PC, I have no problem... and it works... can someone help me!
    Respect of
    Islah

    Thank you

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Error 1606: Could not access network location % APPDATA%\.

    I am trying to install a game for Windows: Zoo Tycoon 2 Ultimate Collection (which is Zoo Tycoon 2 + 4 expansion packs), on a Vista Home SP2 machine.  When you install disc 1, I almost immediately get the error above,Error 1606: could not access network location % APPDATA%\. I looked at the error on this forum, who led me to the installation page for the installation package located manual download page offline at the: http://www.java.com/en/download/help/error_installshield.xml. When I tried to install the offline installation package, I got the same error, 1606.  I don't know what to do next?  This game comes without a product key, this support won't even take my call.  Thank you-

    This problem occurs because there is incorrect entries in the Shell folder of the user who is logged on to Microsoft Windows. When Windows Installer goes to the sale of Shell folder of the user who is logged on to the computer, Windows Installer cannot locate the correct entry. The solution is inhttp://support.microsoft.com/default.aspx/kb/886549.

    The steps to correct this problem involve editing the Windows registry.  Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk. I suggest that you first back up your registry as follows: http://windows.microsoft.com/en-US/windows-vista/Back-up-the-registry.

    Here are the steps to fix it.

    1. click on start, run, typeregedit in the Open box, and then click OK.

    2. look for the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell dossiers\

    3 remove the entries that show the path that is listed in the error message.

    886549 KBhttp://support.microsoft.com/default.aspx/kb/886549: Regedit open again. In the left pane, click User Shell Folders, point tonew, click expandable string value, type the value name that you want to restore (AppData) and then press ENTER. Right click on this value, clickchange, type the value in the value data for the value name box, and then clickOK. The value data must be: % USERPROFILE%\AppData\Roaming.

    Step 8 KB 886549 suggests that you also check the values in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. However, by fixing my problem, I had not to change values in the registry key. If this does not work, follow ALL the steps in the referenced article.

    Good luck. Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Error 1606.Could access network location:

    Hello! I am an employee of the hospital. Currently, I am trying to install a provider software on a machine that I have admin rights and get a "Error 1606.Could access network location:.." I've read about this error in the installation/uninstallation of microsoft product, could this work to outside vendor and software?

    Is there something in the installation that needs to access something on your network? The best would be to contact the software vendor and ask them. I don't think that this would be linked to a windows problem.

    I hope this helps.

  • Impossible to manually add the wireless network

    I need to manually add a wireless network to the laptop. When I click on add in the wireless connection properties window, however there is no pop-up window. If I try on a similar laptop windows wireless network properties appears. The Wireless Auto-Configuration service is started. How can I get the wireless network properties window?

    I was finally able to solve this problem and I posted the results on another forum, I used for this purpose.  Here is the text exactly as I posted on the other forum.  It answers some of your questions.
    Regarding other software that manages the wireless card, Yes, there are (Atheros), he was not managing the adapter (off a long time ago), however, to be sure, I removed it to run in the registry.

    Here is the text of how I solved the problem, I mentioned.  If you have more questions, feel free to post them.

    *****

    I am just posting this here because I could solve the problem and not able to find a reliable source on the internet on a fix for this and for a problem that is the result of my attempts to fix it.

    This is the situation and my landline.

    I was getting this error message

    "Impossible to migrate dependent packages.

    After trying to install a pacakage KB. It did not matter that one but they have been associated with the Wireless settings.

    I continued to try to install the newer packages.
    KB893357
    KB917021
    KB918997

    Each gave me the same message

    "Impossible to migrate dependent packages.

    I read online that I install KB937143 (update IE7) could help.

    I did this and still got the same message on dependent modules.
    I also had another problem occur.
    In the section my network places properties connection wireless adapters, whenever I clicked the Add button / PROPERTIES without window appears to allow me to change the settings, however, I was able to remove items from the preferred networks window.

    My Automatic Configuration Service wireless is running and took Windows to configure my wireless settings.

    I downloaded the updates for my driver Wlan (WiFiHP 500) and I still had the same problems.

    I restarted KB918997 using the/log option and read the log file. This is the last important lines:

    33.849: MigrateHotfix: hotfix migration KB937143
    34.129: migrating QFE KB937143 with command line: update.exe z q - B: sp2qfe
    36.783: failed 1603 Update.exe.
    36.793: MigrateHotfixes: KB937143 Migration failed
    36.793: DoInstallation: Migration failed
    36.933: failed to migrate dependent packages.
    39.597: message displayed to the user: cannot migrate dependent packages.

    I then uninstalled the KB937143 package and reinstalled KB918997 update with the newspaper of Pétion and he went along. I also tested the buttons add and PROPERTIES in the window of Favorites and those networks worked too.

    I checked the logfile KB918997 and he showed this:
    42.311: MigrateHotfix: hotfix migration KB932168 have
    42.511: migrating QFE KB932168 have with the command line: update.exe z q - B: sp2qfe
    88.768: MigrateHotfix: Hotfix KB932168 successfully migrated
    88.768: MigrateHotfixes: return code: 3010
    88.928: DoInstallation: Migration succeeded

    As a side note, I restarted the laptop frequently just to be sure.

    So, really, the option of running with the Ko log file helped me diagnose the problem.

Maybe you are looking for

  • AutoFill is still available? If so, how to do it.

    Since version 8 auto fill disappeared. Can I get it back? If so, how.

  • Satellite L850-1PD - question battery compatibility

    Hello. My battery is really bad and I would like to buy a new one. I took a glance at the Web of Toshiba site and in the battery section I found the battery with it (* PA5110U-1BRS *) reference number is compatible with my laptop. The problem is my l

  • 30-second TV series.

    My purchased iTunes of soap operas TV, on my Windows 7 PC, run for 30 seconds and then stops.

  • 17 - E040us: System off

    Heelo, My son has locked the bios on his laptop computer. He is unable to remember what it is. I get error code 50708480 when I enter the wrong password 3 times. Any way to restore/delete the password? Thank you G

  • How can I place Sarfari if I have a desk top 2006 mac Pro?

    I have a Mac Pro to 2006 bureau. It cannot be upgraded to higher then 10.7.5. I received many Web sites I visit to upgrade or my Safari or websites may not work properly. I really like the Safari and want to continue using it. Do I have to buy a new