Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Powershell ISE does not show Mapped drive in FIle Open

$
0
0

Hi

Using PS4. If I open PowerShell ISE as a normal user I can go to File>Open and browse to a mapped drive I have to store my scripts in. If I open PowerShell ISE as Administrator, it only shows C:.

I have a modified profile that set the location to this drive and can successfully run Get-ChildItem in both ISE’s. This is set with the following:

New-PSDrive -Name T -PSProvider FileSystem -Root “\\Lincoln\Data\Tony Wainwright” | Out-Null
Set-Location T:\Scripts

Also, is there a way I can right click a file in File Explorer (Windows 8) and Edit a .PS1 file ISE with Elevated privileges?

Thanks
Tony


Viewing all articles
Browse latest Browse all 13067

Trending Articles