Search found 40 matches
- Thu Nov 07, 2019 5:18 am
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
Re: start-job alternate credentials directory name is invalid
Thank you all for your help Alexander Riedel and mxtrinidad! The password using "| ConvertTo-SecureString -Key (1..32)" wouldn't work for you unless your encrypted password was generated using -key (1..32) Apologies, csv is used elsewhere but in sanitizing it for the post I made some mista...
- Wed Nov 06, 2019 1:19 pm
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
Re: start-job alternate credentials directory name is invalid
Issue ODDLY, resolved: [environment]::CurrentDirectory='C:\Windows\System32\WindowsPowerShell\v1.0' $sqlJob = Start-Job -ScriptBlock $sqlScript -Credential $cred -ArgumentList ($arg1, $arg2) $recJob = Receive-Job -Job $sqlJob -Wait -ErrorAction Inquire The args are provided in the event someone need...
- Wed Nov 06, 2019 1:08 pm
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
- Wed Nov 06, 2019 10:22 am
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
Re: start-job alternate credentials directory name is invalid
how would that differ from PrimalScript console (ctrl+F8), to ISE to standard running of PrimalScript? Ideally, this would work no matter the source system. Earlier in the year a version of this construct was generated and continues to work on two separate systems. It's not the same query but it is ...
- Wed Nov 06, 2019 8:47 am
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
Re: start-job alternate credentials directory name is invalid
ISE is tested fresh each time. It is closed and reopened.
Even between user sessions the script will complete successfully
PrimalScript ribbon has v5 selected
With and without elevation
Also with and without STA mode
Ctrl+F8 worked
Even between user sessions the script will complete successfully
PrimalScript ribbon has v5 selected
With and without elevation
Also with and without STA mode
Ctrl+F8 worked
- Wed Nov 06, 2019 8:07 am
- Forum: PrimalScript
- Topic: start-job alternate credentials directory name is invalid
- Replies: 11
- Views: 8986
start-job alternate credentials directory name is invalid
Product, version and build: SAPIEN PrimalScript 2019 - v7.6.135.0 - 64 bit Operating system: 64 bit OS: Windows 10 Enterprise *** Please add details and screenshots as needed below. *** When attempting to use alternate credentials an error is being thrown. ERROR: [localhost] An error occurred while ...
- Tue Jun 11, 2019 10:17 am
- Forum: PowerShell
- Topic: PSJob not running for v5 Host (silent)
- Replies: 5
- Views: 4253
- Tue Jun 11, 2019 10:17 am
- Forum: PowerShell
- Topic: PSJob not running for v5 Host (silent)
- Replies: 5
- Views: 4253
Re: PSJob not running for v5 Host (silent)
Thank you for your reply davidc. Unfortunately, I've tried a console host and nothing spits out. I tried again for the sake of testing and no errors. I also ran the debug in powershell studio. SAPIEN PowerShell V5 Host (Command line) The receive-job has the -wait parameter which I hope is sufficient...
- Tue Jun 11, 2019 9:31 am
- Forum: PowerShell
- Topic: PSJob not running for v5 Host (silent)
- Replies: 5
- Views: 4253
PSJob not running for v5 Host (silent)
Product, version and build: 64 bit version of product: Powershell Studio 2019 v5.6.156 Operating system: 64 bit Windows 10 Enterprise Using sychronized hashtable and xml with STA The script will not generate the xml nor the csv. In addition, I'm not seeing the additional window indicating the psjob ...
- Wed Jun 13, 2018 11:16 am
- Forum: PowerShell Studio
- Topic: MSI plus batch file
- Replies: 5
- Views: 2533
Re: MSI plus batch file
How would I organize that in the setup? File: cmd.exe Folder: C:\Windows\Sysnative Argument: /c [installdir]file.bat Did not accept folder. File: C:\Windows\Sysnative\cmd.exe Folder: ( cannot be blank ) INSTALLDIR Argugment: /c [installdir]file.bat did not like command File: cmd.exe Folder: INSTALLD...