Add Network Places using PoSh

  • I'm getting a new Windows 7 desktop. From a powershell perspective, probably a good thing.

    But, I have a goodly number of Network Places mapped on my XP box, and I'd like to re-create those mappings on my new box.

    I've not seen anything that looks programmatic / PoSh in my search results.They seem to point to AddNetPlaceRunDll, but....

    Any ideas?

  • schleep (4/29/2014)


    I'm getting a new Windows 7 desktop. From a powershell perspective, probably a good thing.

    But, I have a goodly number of Network Places mapped on my XP box, and I'd like to re-create those mappings on my new box.

    I've not seen anything that looks programmatic / PoSh in my search results.They seem to point to AddNetPlaceRunDll, but....

    Any ideas?

    Yes... make them give you the upgrade to Windows 8.1.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Jeff Moden (4/29/2014)


    schleep (4/29/2014)


    I'm getting a new Windows 7 desktop. From a powershell perspective, probably a good thing.

    But, I have a goodly number of Network Places mapped on my XP box, and I'd like to re-create those mappings on my new box.

    I've not seen anything that looks programmatic / PoSh in my search results.They seem to point to AddNetPlaceRunDll, but....

    Any ideas?

    Yes... make them give you the upgrade to Windows 8.1.

    Totally agree. I preferred Windows 8.0 over 7. I never saw what the big fuss was about. Once you have shortcuts or pins to your commonly used apps then you usually have to scour for that app you are sure was installed. I prefer the Win8 search over the Start Bar search any day. Plus there are a lot of other improvements as well. PowerShell being a case in point.

    Gaz

    -- Stop your grinnin' and drop your linen...they're everywhere!!!

  • Hi Tony,

    I did come across that one, but no, that's not what I'm after.

    The one I want is, in Win 7, right click on Computer, Add a network location.

    Thanks.

  • Yes... make them give you the upgrade to Windows 8.1.

    Ha ha! We're just getting to Win 7. By the time we're ready to upgrade, I'd be surprised if it's still called Windows. 😛

  • As far as I can tell, they're shortcuts stored in my c:\users\...ethood folder, which I can access in XP, but not in Win 7 even running Windows Explorer as Administrator...

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply