Skip to content

ScottWeinstein/PathProvider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PATHProvider

A powershell provder for viewing and managing your $ENV:Path variable.

The hard work is done via PSProvider

Why?

This: > $ENV:PATH

C:\Program Files (x86)\Microsoft F#\v4.0\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy;C:\Program
Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;C:\Pro
gram Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Mi
crosoft.NET\Framework\v3.5;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;C:\Program Files (x86)\Mic
rosoft Visual Studio 10.0\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.
0 Tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Window
s\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Micro
soft ASP.NET\ASP.NET Web Pages\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Micro
soft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQ
L Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files
 (x86)\VisualSVN\bin;C:\Program Files (x86)\Git\bin\;C:\Ruby\bin

vs

> ls PATH:\
C:\Program Files (x86)\Microsoft F#\v4.0\
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v3.5
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tool
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin
%SystemRoot%\system32\WindowsPowerShell\v1.0\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\
c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
c:\Program Files\Microsoft SQL Server\100\Tools\Binn\
c:\Program Files\Microsoft SQL Server\100\DTS\Binn\
c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files (x86)\VisualSVN\bin
C:\Program Files (x86)\Git\bin\
C:\Ruby\bin

Supported provider actions:

get-childitem PATH:\
remove-item PATH:\"C:\Program Files (x86)\VisualSVN\bin"
New-Item -Path PATH:\ -Value C:\DevTools\

Install

nuget install PathProvider
edit $PROFILE and . source PathProvider.ps1

About

Powershell provider for the $ENV:Path var

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published