Search found 11479 matches

by jvierra
Fri Nov 10, 2017 1:02 am
Forum: Windows PowerShell
Topic: Install fail
Replies: 3
Views: 113

Re: Install fail

I am saying to build the exe for V3 and it will work on all versions of 2012r2.

I am also saying to install WMF 5 on 2012.
by jvierra
Thu Nov 09, 2017 9:28 pm
Forum: Windows PowerShell
Topic: Install fail
Replies: 3
Views: 113

Re: Install fail

Upgrade 2012 to V5 or later or downgrade the exe to V3.
by jvierra
Thu Nov 09, 2017 11:43 am
Forum: Windows PowerShell
Topic: Variable issue
Replies: 2
Views: 123

Re: Variable issue

I already gave you the answer to that question. $AC = Get-Mailbox -RecipientTypeDetails UserMailbox -OrganizationalUnit $OUMbx | where {$_.DisplayName -match '^[A-C]'} You cannot use LIKE to match a RegEx pattern. Also you cannot add a mailbox t]o an AD Group. Get the ADUser and add that. See: https...
by jvierra
Thu Nov 09, 2017 11:37 am
Forum: PowerShell GUIs
Topic: Running a Control Set Job with different credentials
Replies: 5
Views: 151

Re: Running a Control Set Job with different credentials

I have never seen that. There is no reason for that to happen. I cannot reproduce the issue either. perhaps you are building with the wrong host.
by jvierra
Wed Nov 08, 2017 2:13 pm
Forum: Windows PowerShell
Topic: RPD session without credential prompt in GUI
Replies: 7
Views: 140

Re: RPD session without credential prompt in GUI

Omega.rdp is a file for my connection. MSTSC can create one very easily. Type mstsc and create a connection then save it to a file.

Setting NTLM delegation on a server can be a security risk.
by jvierra
Wed Nov 08, 2017 10:02 am
Forum: PowerShell GUIs
Topic: Get invoke command result into a live richtext field
Replies: 3
Views: 127

Re: Get invoke command result into a live richtext field

THis is how to assign a text to an RTB. $richtextbox1.Text += <some string> If you want to assign by line then: $richtextbox1.Lines += $line (or $lines for an array of lines) If you right click on the control in the toolbox you will see links to the documentation and Sapien documents for the control.
by jvierra
Wed Nov 08, 2017 10:01 am
Forum: PowerShell GUIs
Topic: Get invoke command result into a live richtext field
Replies: 3
Views: 127

Re: Get invoke command result into a live richtext field

THis is how to assign a text to an RTB. $richtextbox1.Text += <some string> If you want to assign by line then: $richtextbox1.Lines += $line (or $lines for an array of lines) If you right click on the control in the toolbox you will see links to the documentation and Sapien documents for the control.
by jvierra
Wed Nov 08, 2017 9:45 am
Forum: PowerShell GUIs
Topic: Running a Control Set Job with different credentials
Replies: 5
Views: 151

Re: Running a Control Set Job with different credentials

Edit the Add-JobTracker function to add the parameter. function Add-JobTracker { Param ( [ValidateNotNull()] [Parameter(Mandatory = $true)] [string]$Name, [ValidateNotNull()] [Parameter(Mandatory = $true)] [ScriptBlock]$JobScript, $ArgumentList = $null, [ScriptBlock]$CompletedScript, [ScriptBlock]$U...
by jvierra
Wed Nov 08, 2017 8:49 am
Forum: PowerShell GUIs
Topic: Running a Control Set Job with different credentials
Replies: 5
Views: 151

Re: Running a Control Set Job with different credentials

Edit the function and add a "Credential" parameter.

The control set is designed to allow you to modify the example code.
by jvierra
Wed Nov 08, 2017 8:41 am
Forum: Windows PowerShell
Topic: RPD session without credential prompt in GUI
Replies: 7
Views: 140

Re: RPD session without credential prompt in GUI

Here is my auto file. It does not ask for credentials.

mstsc omega.rdp