Search found 14 matches

by DaveMcDonald
Mon Sep 16, 2019 7:02 am
Forum: Windows PowerShell
Topic: Executable causing some issues, (0xc0000142)
Replies: 7
Views: 1942

Re: Executable causing some issues, (0xc0000142)

Thanks for that. It is much cleaner. Learning PowerShell is a continuing process. Things like Throw I didn't know. I am still getting the same error (The application was unable to start correctly (oxcooo142)) but something else comes up as well now. The application is impersonating a different accou...
by DaveMcDonald
Tue Aug 27, 2019 8:11 am
Forum: Windows PowerShell
Topic: Executable causing some issues, (0xc0000142)
Replies: 7
Views: 1942

Re: Executable causing some issues, (0xc0000142)

Here is the function. Function Change-SecACL { <# .SYNOPSIS This function will modify a security group ACL. .DESCRIPTION This function will run as a job with diffrent credeitanls (supplied at start of the script). It will ADD or REMOVE an ACE from the ACL. It only currently adds or removes the Write...
by DaveMcDonald
Fri Aug 23, 2019 11:36 am
Forum: Windows PowerShell
Topic: Executable causing some issues, (0xc0000142)
Replies: 7
Views: 1942

Executable causing some issues, (0xc0000142)

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: PowerShell Studio ...
by DaveMcDonald
Fri Jul 05, 2019 11:20 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 2725

Re: Weird behavior from executable.

So now, I have one that is absolutely perplexing me. When I play my form, everything seems to work as it should. When I convert it to an executable (Build settings are the same) I am getting this error on exectution of start-job ERROR: [localhost] The background process reported an error with the fo...
by DaveMcDonald
Fri Jul 05, 2019 8:55 am
Forum: PowerShell GUIs
Topic: running part of a script with different credentials.
Replies: 5
Views: 600

Re: running part of a script with different credentials.

So now things are getting a bit weird. Function Change-SecACL { <# .SYNOPSIS This function will modify a security group ACL. .DESCRIPTION This function will run as a job with diffrent credeitanls (supplied at start of the script). It will ADD or REMOVE an ACE from the ACL. It only currently adds or ...
by DaveMcDonald
Fri Jul 05, 2019 5:44 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 2725

Re: Weird behavior from executable.

Most likely. But why would this only cut off the text in two check boxes?
by DaveMcDonald
Fri Jul 05, 2019 5:11 am
Forum: Windows PowerShell
Topic: Weird behavior from executable.
Replies: 8
Views: 2725

Weird behavior from executable.

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: PowerShell Studio ...
by DaveMcDonald
Wed Jun 26, 2019 10:25 am
Forum: PowerShell GUIs
Topic: running part of a script with different credentials.
Replies: 5
Views: 600

Re: running part of a script with different credentials.

That worked! Thanks jvierra!! Function Change-SecACL { <# .SYNOPSIS This function will add a secondary person to write members. .DESCRIPTION Using get and set acl this script will add a secondary user to have the ability to modify the membership of a security group .PARAMETER User Username .PARAMETE...
by DaveMcDonald
Wed Jun 26, 2019 3:25 am
Forum: PowerShell GUIs
Topic: running part of a script with different credentials.
Replies: 5
Views: 600

running part of a script with different credentials.

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build:Powershell Studio 2...
by DaveMcDonald
Mon Mar 25, 2019 5:31 am
Forum: PowerShell GUIs
Topic: folderbrowsermodrndialog
Replies: 4
Views: 461

Re: folderbrowsermodrndialog

And I need to disable the context menu. The form runs as a service account but I want the user to only browse and select a folder, no other options.