PSModulePath 수정하기


Powershell에서 Module이 저장된 위치를 보려면
$evn:psmodulepath

이곳의 위치는
1) 로그온한 사용자용: $home\documents\windowspowershell\modules
2) 모든 사용자용: $pshome\Modules

그런데 모든 사용자용을 File Server용으로 하기 위해서는 경로를 다음과 같이 추가하면 된다.

$env:PSModulePath = $env:PSModulePath + ";\\fileserver\sharedfolder"

참고: http://msdn.microsoft.com/en-us/library/windows/desktop/dd878326(v=vs.85).aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s