Search found 15 matches

by rtiel1
Fri Nov 06, 2015 4:07 am
Forum: PrimalScript
Topic: how to list available properties of $user?
Replies: 1
Views: 4204

how to list available properties of $user?

Product, version and build: 2015 7.1.71 32 or 64 bit version of product: 64 Operating system: 8.1 32 or 64 bit OS: 64 When running a code like ....$user = $admService.OpenObject($userPath, $NULL, $NULL, 0).... etc you can get a property like $user.Name. In Powergui it's possible to run the script on...
by rtiel1
Fri Jan 09, 2015 2:45 am
Forum: PowerShell Studio
Topic: function to retrieve button info
Replies: 2
Views: 731

function to retrieve button info

Hello,

In Powershell Studio 2014 I've several buttons on a form and want to have a Function which returns the name of the button. When I click on a button the function is called which returns the name. How can I achieve this?

With regards
by rtiel1
Mon Dec 22, 2014 2:34 am
Forum: PowerShell Studio
Topic: We are sorry. We could not reach our activation server
Replies: 2
Views: 1171

We are sorry. We could not reach our activation server

I've installed Powershell Studio 2014 4.1.75 on a Windows 2008R2 server. I've internet access but can not activate PS when PS is starting up so I can't use PS2014. We don't use a proxy and TLS is enabled in IE. In our corperate firewall I don't see anything blocked from the server where PS is instal...
by rtiel1
Tue Feb 05, 2013 6:11 am
Forum: PowerShell Studio
Topic: How to enumerate textbox controls on a form?
Replies: 2
Views: 2837

How to enumerate textbox controls on a form?

Thnx for the explanation, another thing learned today :-)
by rtiel1
Tue Feb 05, 2013 5:54 am
Forum: PowerShell Studio
Topic: How to enumerate textbox controls on a form?
Replies: 2
Views: 2837

How to enumerate textbox controls on a form?

How can I enumerate all textboxes on a form? I want to clear all textboxes on a form with one click without having to specify each control. When I use eg $testform.Controls it returns only buttons, groupboxes etc but no text- or comboboxes. I'm using Powershell Studio 2012 latest version. Thnx Remco
by rtiel1
Mon Nov 05, 2012 1:26 am
Forum: PowerShell Studio
Topic: Can not convert value (exchange 2010) to GB or MB
Replies: 1
Views: 1172

Can not convert value (exchange 2010) to GB or MB

My mistake,

I was calling the exchange shell via the command New-PSSession. To get this script working I have to call the Exchange snappins Add-PSSnapin otherwise for some reason the .ToGB() won't work.

Remco
by rtiel1
Mon Nov 05, 2012 1:14 am
Forum: PowerShell Studio
Topic: Can not convert value (exchange 2010) to GB or MB
Replies: 1
Views: 1172

Can not convert value (exchange 2010) to GB or MB

I'm running the following script succesfully in Exchange Management Shell and in Powergui, but in Powerstudio 2012 (the latest version) it fails. For some reason it cannot convert the value and I receive the error "Method invocation failed because [System.String] doesn't contain a method named 'ToGB...
by rtiel1
Fri Oct 12, 2012 12:50 am
Forum: PowerShell Studio
Topic: Couldn't find cmdlet.cache after upgrade to 3.1.9
Replies: 35
Views: 8378

Couldn't find cmdlet.cache after upgrade to 3.1.9

I've the same problem, same error on Win7 x64 including powershell 2.0 and a computer including Win7 x64 with powershell 3.0.

Remco
by rtiel1
Fri Jul 27, 2012 7:17 am
Forum: PowerShell Studio
Topic: new-mailboxexportrequest not working properly
Replies: 6
Views: 4147

new-mailboxexportrequest not working properly

I've done some more testing. I executed the same script within PowerGUI and that's working as it should, every time I run it.That's why I think it has something to do with Powerstudio 2012...... However in both apllications I recieve an exception but that's I believe an Exchange issue.: EXCEPTION: T...
by rtiel1
Fri Jul 27, 2012 5:59 am
Forum: Windows PowerShell
Topic: Powershell session issue?
Replies: 2
Views: 837

Powershell session issue?

After more testing I found out that the script does work if I open Powershell studio 2012 for the first time and run the script for the first time. After the succesfull run and trying to execute the same script but for a different user the problem occurs. Does this mean it has to do something with t...