r/PowerShell • • Apr 21 '26

PSDrive

Hi..

I have created a new PSDrive having name `S:`.

new-psdrive -name S -psprovider filesystem -root c:\users\username\dir

one running command `get-content` works fine, but `vim` is opening a blank file.

get-content S:\test.txt # works fine

vim S:\test.txt # opens a blank file

8 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/g3n3 Apr 22 '26

Time to step up then! 😉