Search found 15 matches

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

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 1:45 am
Forum: PowerShell Studio
Topic: function to retrieve button info
Replies: 2
Views: 1758

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 1:34 am
Forum: PowerShell Studio
Topic: We are sorry. We could not reach our activation server
Replies: 2
Views: 2390

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 5:11 am
Forum: PowerShell Studio
Topic: How to enumerate textbox controls on a form?
Replies: 2
Views: 4462

How to enumerate textbox controls on a form?

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

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 12:26 am
Forum: PowerShell Studio
Topic: Can not convert value (exchange 2010) to GB or MB
Replies: 1
Views: 2292

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 12:14 am
Forum: PowerShell Studio
Topic: Can not convert value (exchange 2010) to GB or MB
Replies: 1
Views: 2292

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 ...
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: 35827

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: 6540

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: PowerShell
Topic: Powershell session issue?
Replies: 2
Views: 1894

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...