Hacker News new | ask | show | jobs
by cakes 3900 days ago
I'm interested in how this is going to work in PowerShell with the way everything works now, if there happen to be any details about that (whether here, somewhere else, or a past link)?
1 comments

I don't know anything about PowerShell, but I have a similar question, I think: how is this going to work? Will I be able to do something like this command line (from my *nix machine)?

    ssh user@windows.machine.local dir d: | less
You should be able to do that just fine. 'dir d:' runs on the windows box and 'less' on the unix box.
Excellent. That's very useful!
This is a key thing I'm curious about. How is drive mapping handled? If I "net use d: \\host\share" from one session, it won't nessarily translate and mount D: to all sessions (or will it)?
I can't check right now, but if you have two local users, Delta and Gamma, and Gamma mounts D:\, does Delta see it or is it specific to Gamma's session?
Mapped network drives are for each user separately. Actually, they are even different for the limited administrator token and the elevated one (e.g. if I run something as administrator here I won't see my mapped network drives, but instead have to use UNC paths).
Drive letter mappings differ even between Delta and when Delta opens a command prompt as administrator.