Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Need help from PowerShell expert

17 Jan 2018   #11
dsperber

Windows 7 Pro x64 (1), Win7 Pro X64 (2)
 
 

FOUND IT!!!!!!!!!!!!!!!!!!!!!!!!

Looking at the error messages in my most recent test (using the Technet script method that Brink had suggested I try), there was something interesting:

"Invalid search path C:\OTSORTW in the LIB environment variable; cannot find the path specified"

Well, turns out C:\OTSORTW actually is a folder that is supposed to be present, and I truly have customized my LIB environment variable to contain it (among others I've also added). But obviously I had unwittingly neglected to actually create that folder on the Lenovo P70 laptop I'm working on. Pure oversight, but it has never caused any problem until now.

Apparently PowerShell utilizes the LIB environment variable.

So, I simply copied the C:\OTSORTW folder from another machine on which it existed onto this laptop, and then re-tried my original command sequence (again, running with WMF 5.1 exactly as it got installed earlier this morning).

AND SURE ENOUGH... IT NOW WORKS!! Obviously WinRM is totally irrelevant, and it's not necessary to activate it.




My System SpecsSystem Spec
.
Reply

 Need help from PowerShell expert




Thread Tools




Similar help and support threads
Thread Forum
How do I become an expert in Windows?
Hi Although I'm specializing in Computer Science I sometimes come to problems that I can't solve in Windows and many times people ask me question about windows that I can't answer. Now I decided to become expert in Windows Vista, 7 and 8. What should I do? Are there any books recommended?...
General Discussion
Think i need some expert help with this one im stumped
Prim95 i can do small FFTs but when it comes to In-place large FFts and Bend its just giving me warning and errors Any help with this one im totally clueless My personal thoughts are ram
PC Custom Builds and Overclocking
Please guy, I'm beg for someone expert in computer PLEASE help me ..
Heres my problem guy...please spend up some minutes to help me sir..this problems really frustrated. When i play Computer games like CS,DOTA2 (Mostly this problem occur in when playing Dota2), sometime i suddenly get a black screen for about 5 seconds and then the screen recovers. Sometimes it...
Drivers
Need an XP activation expert!
My friend wants to reinstall XP Pro on his older Dell Latitude C640 laptop. The laptop has Win2000 COA stickered to the bottom. We read the existing XP Pro Product ID and Key using Magic Jellybean and it appears to be retail key (no OEM in ID string). However I don't know if it is full retail or...
Chillout Room
Anyone here an expert when it comes to using TrueCrypt?
Greetings, I'm currently encrypting most of my 4GB USB Thumb Drive using TrueCrypt. It's awesome software to say the least ! :D Anyway, my question is, how would I go about preventing someone from formatting my USB stick ? If someone were to steal it and decided to format it, obviously...
Chillout Room


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:46.
Twitter Facebook Google+