Avatar of Joe Hall
Joe HallFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

POWERSHELL change the destination / customise the Documents Path

In PowerShell I ran…..  $env:PSModulePath -split ';'
This displays
Documents Path: \\Exponential-e.uk\fs01\Redirect$\Joe.Hall\Documents\WindowsPowerShell\Modules

Program files path: C:\Program Files\WindowsPowerShell\Modules

System32 path: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules


The Document Parth "\\Exponential-e.uk\fs01\Redirect$\Joe.Hall\Documents\WindowsPowerShell\Modules" takes about 40 to 50 mins to get to authentication or may just time out. I cant alter this.


How do I at least or the session I am in removed "\\Exponential-e.uk\fs01\Redirect$\Joe.Hall\Documents\WindowsPowerShell\Modules" and replace it with something like "C:\PowerShell\Moddules\".


Powershell

Avatar of undefined
Last Comment
Joe Hall
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of footech
footech
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
The Document Parth "\\Exponential-e.uk\fs01\Redirect$\Joe.Hall\Documents\WindowsPowerShell\Modules" takes about 40 to 50 mins to get to authentication or may just time out. I cant alter this.

Have you brought this problem to the attention of the company administrators.. This level delay is totally unacceptable..  Are you onsite or offline connecting via a vpn ?
Avatar of Joe Hall
Joe Hall
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

yes .. and they have done nothing so far, hence trying to mitigate this. I dont even know why we dont use our onedrive.
Powershell
Powershell

Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework. PowerShell provides full access to the Component Object Model (COM) and Windows Management Instrumentation (WMI), enabling administrators to perform administrative tasks on both local and remote Windows systems as well as WS-Management and Common Information Model (CIM) enabling management of remote Linux systems and network devices.

27K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo