How does Powershell create fake drive labels in Windows?Is there a way to restart a service on a remote machine from a batch script?Multiple counts from Powershell Get-ChildItem?PowerShell create VHDPowershell A Drive C Does Not ExistDetermine and change filename encoding on Windowswindows fake disk drive spaceIs my PowerShell execution environment subtly corrupted?Command prompt disappears after a split second of launching the applicationPowershell - Create Volatile Registry key?Possible to use & join Long Path Variables in Batch file to call an EXE with those longer variables as command-line arguments? How?
Where can I find a database of galactic spectra?
How does metta sutra develop loving kindness
How was Hillel permitted to go to the skylight to hear the shiur
Has there been any indication at all that further negotiation between the UK and EU is possible?
Hand soldering SMD 1206 components
Why aren't cotton tents more popular?
How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?
Are all instances of trolls turning to stone ultimately references back to Tolkien?
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
What is the origin of Scooby-Doo's name?
If I wouldn't want to read the story, is writing it still a good idea?
How dangerous are set-size assumptions?
C-152 carb heat on before landing in hot weather?
How do I turn off a repeating trade?
Require advice on power conservation for backpacking trip
As a fresh graduate, should I get my first credit card?
Does Marvel have an equivalent of the Green Lantern?
Is this one of the engines from the 9/11 aircraft?
Did Karl Marx ever use any example that involved cotton and dollars to illustrate the way capital and surplus value were generated?
How to make clear to people I don't want to answer their "Where are you from?" question?
How do I set an alias to a terminal line?
How to create a Tetrix/Sierpinski Tetrahedron fractal radiating from 0,0,0 ? Python or nodes
What is the better way to use Optional in conditions?
Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?
How does Powershell create fake drive labels in Windows?
Is there a way to restart a service on a remote machine from a batch script?Multiple counts from Powershell Get-ChildItem?PowerShell create VHDPowershell A Drive C Does Not ExistDetermine and change filename encoding on Windowswindows fake disk drive spaceIs my PowerShell execution environment subtly corrupted?Command prompt disappears after a split second of launching the applicationPowershell - Create Volatile Registry key?Possible to use & join Long Path Variables in Batch file to call an EXE with those longer variables as command-line arguments? How?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
In Powershell (at least in Windows 10EE), certain parts of the system are exposed under a custom drive label. The two main examples I know are:
HKLM:
exposes the local machine's registry as a drive.$Env:
exposes the environment variables like their own filesystem.
However, cmd and batch scripts are not able to see these drives.
So my questions are:
- How does Powershell implement these fake drive labels?
- Are they similar to mountpoints in Linux?
- Are they using some kind of pseudo-filesystem under the hood?
windows powershell filesystems
New contributor
add a comment |
In Powershell (at least in Windows 10EE), certain parts of the system are exposed under a custom drive label. The two main examples I know are:
HKLM:
exposes the local machine's registry as a drive.$Env:
exposes the environment variables like their own filesystem.
However, cmd and batch scripts are not able to see these drives.
So my questions are:
- How does Powershell implement these fake drive labels?
- Are they similar to mountpoints in Linux?
- Are they using some kind of pseudo-filesystem under the hood?
windows powershell filesystems
New contributor
2
ReadGet-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers
– LotPings
8 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@EdwardMinnix - That is simplyWindows 10 Enterprise
. Referring to it asWindows 10 EE
will confuse people.
– Ramhound
3 hours ago
add a comment |
In Powershell (at least in Windows 10EE), certain parts of the system are exposed under a custom drive label. The two main examples I know are:
HKLM:
exposes the local machine's registry as a drive.$Env:
exposes the environment variables like their own filesystem.
However, cmd and batch scripts are not able to see these drives.
So my questions are:
- How does Powershell implement these fake drive labels?
- Are they similar to mountpoints in Linux?
- Are they using some kind of pseudo-filesystem under the hood?
windows powershell filesystems
New contributor
In Powershell (at least in Windows 10EE), certain parts of the system are exposed under a custom drive label. The two main examples I know are:
HKLM:
exposes the local machine's registry as a drive.$Env:
exposes the environment variables like their own filesystem.
However, cmd and batch scripts are not able to see these drives.
So my questions are:
- How does Powershell implement these fake drive labels?
- Are they similar to mountpoints in Linux?
- Are they using some kind of pseudo-filesystem under the hood?
windows powershell filesystems
windows powershell filesystems
New contributor
New contributor
New contributor
asked 8 hours ago
Edward MinnixEdward Minnix
1185 bronze badges
1185 bronze badges
New contributor
New contributor
2
ReadGet-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers
– LotPings
8 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@EdwardMinnix - That is simplyWindows 10 Enterprise
. Referring to it asWindows 10 EE
will confuse people.
– Ramhound
3 hours ago
add a comment |
2
ReadGet-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers
– LotPings
8 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@EdwardMinnix - That is simplyWindows 10 Enterprise
. Referring to it asWindows 10 EE
will confuse people.
– Ramhound
3 hours ago
2
2
Read
Get-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers– LotPings
8 hours ago
Read
Get-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers– LotPings
8 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@EdwardMinnix - That is simply
Windows 10 Enterprise
. Referring to it as Windows 10 EE
will confuse people.– Ramhound
3 hours ago
@EdwardMinnix - That is simply
Windows 10 Enterprise
. Referring to it as Windows 10 EE
will confuse people.– Ramhound
3 hours ago
add a comment |
1 Answer
1
active
oldest
votes
In PowerShell, those are called PSProviders
PowerShell providers are Microsoft .NET Framework-based programs that
make the data in a specialized data store available in PowerShell so
that you can view and manage it.
cmd / batch is not .NET Framework based, that's why they can't use them.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "3"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Edward Minnix is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1451036%2fhow-does-powershell-create-fake-drive-labels-in-windows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In PowerShell, those are called PSProviders
PowerShell providers are Microsoft .NET Framework-based programs that
make the data in a specialized data store available in PowerShell so
that you can view and manage it.
cmd / batch is not .NET Framework based, that's why they can't use them.
add a comment |
In PowerShell, those are called PSProviders
PowerShell providers are Microsoft .NET Framework-based programs that
make the data in a specialized data store available in PowerShell so
that you can view and manage it.
cmd / batch is not .NET Framework based, that's why they can't use them.
add a comment |
In PowerShell, those are called PSProviders
PowerShell providers are Microsoft .NET Framework-based programs that
make the data in a specialized data store available in PowerShell so
that you can view and manage it.
cmd / batch is not .NET Framework based, that's why they can't use them.
In PowerShell, those are called PSProviders
PowerShell providers are Microsoft .NET Framework-based programs that
make the data in a specialized data store available in PowerShell so
that you can view and manage it.
cmd / batch is not .NET Framework based, that's why they can't use them.
answered 8 hours ago
SimonSSimonS
3,1293 gold badges12 silver badges24 bronze badges
3,1293 gold badges12 silver badges24 bronze badges
add a comment |
add a comment |
Edward Minnix is a new contributor. Be nice, and check out our Code of Conduct.
Edward Minnix is a new contributor. Be nice, and check out our Code of Conduct.
Edward Minnix is a new contributor. Be nice, and check out our Code of Conduct.
Edward Minnix is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1451036%2fhow-does-powershell-create-fake-drive-labels-in-windows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Read
Get-Help New-PsDrive
,Get-Help about_Providers
or view online, about_Providers– LotPings
8 hours ago
It has nothing to do with Drive Letter (it is obviously more than a single letter, ain't it?). It is more like internet protocols. http://, ftp:// and remember Windows Help in CHM (compiled HTML) format? There is a special protocol too, mk-itsf:// or something like that. Some programs in Linux utilize the same concept too, example Gnome VFS. On the filesystem level, there are no any "drive labels" in UNIX, at all. But exposing non-files in files tree is the basic idea of UNIX from 1970-s. In Linux too. DevFS, ProcFS, SysFS, FUSE. Also google about Plan9 OS that thinks UNIX does not do enough
– Arioch 'The
7 hours ago
What exactly is "Windows 10EE"?
– Ramhound
7 hours ago
@Ramhound Windows 10, Enterprise Edition
– Edward Minnix
4 hours ago
@EdwardMinnix - That is simply
Windows 10 Enterprise
. Referring to it asWindows 10 EE
will confuse people.– Ramhound
3 hours ago