Powershell scripts on 2008 R2
Powershell scripts on 2008 R2
Hi, I have written a Powershell script that creates a txt file. This script is run via the Run Program command in Installaware (run powershell.exe - parameters - location and name of ps1 file). It works and creates a txt file in Server 2012, but doesn't create a text file in 2008 R2 - giving a Result of 1. The ps1 file DOES work in 2008 R2 if it's run manually. The problem is running the ps1 file through Installaware in 2008 R2. We've run it as administrator, and the UAC is as low as it gets, but with no success. Also, from what we've seen this is not machine-specific, it's OS specific. - any ideas please?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Powershell scripts on 2008 R2
Dear Wimpie,
Are you able to share a very minimal project that replicates the issue?
I'll try to have a look.
Regards
Are you able to share a very minimal project that replicates the issue?
I'll try to have a look.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 120 guests