[wpkg-users] powershell: system cannot find the file
Andreas Schamanek
schamane at fam.tuwien.ac.at
Fri Oct 21 21:35:03 CEST 2016
On Thu, 20 Oct 2016, at 15:49, Dafydd Jones (techneg.it) wrote:
> I use PowerShell extensively in my pkgs and have never come across
> this problem, but rather than extending the PATH why don't you just
> specify the full path to the powershell command?
I thought that was too much a risk to break it on some of the other
clients. Is it always in %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
on Windows 7?
Anyway, I had a chance to look at some of the affected clients and it
became immediately clear that all but the failing ones had
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ within %PATH%, so I am
just going to add this to the PATH where it is missing.
--
-- Andreas
:-)
More information about the wpkg-users
mailing list