Search found 16 matches

by balkanweb
Tue Jul 16, 2013 7:55 am
Forum: PowerShell Studio
Topic: write-verbose ??
Replies: 1
Views: 883

write-verbose ??

Have Write-verbose across my script. When run in Powershell Studio the Verbose Messages don't show up. Is there a preference to run the script as Verbose ?
by balkanweb
Thu May 30, 2013 11:09 am
Forum: Wish List and Feature Requests
Topic: Directory Object Picker for PowerShell Studio 2012
Replies: 15
Views: 13632

Re: Directory Object Picker for PowerShell Studio 2012

Any update on this ?? it would be very helpful.
by balkanweb
Fri Sep 28, 2012 4:38 am
Forum: Wish List and Feature Requests
Topic: Directory Object Picker for PowerShell Studio 2012
Replies: 15
Views: 13632

Directory Object Picker for PowerShell Studio 2012

any update on this? Very interested in a Directory Object Picker.
by balkanweb
Thu Sep 20, 2012 8:16 am
Forum: PowerShell Studio
Topic: Script folder
Replies: 1
Views: 993

Script folder

i'm using the following on startup.pfs $global:ParentFolder = Split-Path (Get-Variable MyInvocation -scope 1 -ValueOnly).MyCommand.Definition to get the folder where the script is running from. When i run the Project on editor it works fine. When i compile project it does not return anything. Any id...
by balkanweb
Thu Aug 23, 2012 8:00 am
Forum: PowerShell Studio
Topic: Try catch Form
Replies: 4
Views: 1635

Try catch Form

I did try the form.close() but it didn't work (script would continue to run lines after catch{}.

Adding the Return fixed it :)
by balkanweb
Thu Aug 23, 2012 5:34 am
Forum: PowerShell Studio
Topic: Try catch Form
Replies: 4
Views: 1635

Try catch Form

I like to terminate script if Connection cannot be performed. try { $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri Http://server/powerShell/ -Authentication Kerberos -Credential (Get-Credential) -ea 'Stop' } Catch { Write-Host "Failure when connecting to remote server....
by balkanweb
Wed Aug 08, 2012 7:37 am
Forum: PowerShell Studio
Topic: Events delete
Replies: 1
Views: 1196

Events delete

I have some empty event on my code. I delete it but when i run or save script the event comes back.
Any idea ?

$tabpage3_Click={
#TODO: Place custom script here

}
by balkanweb
Wed Aug 08, 2012 7:28 am
Forum: PowerShell Studio
Topic: textbox Focus
Replies: 2
Views: 2368

textbox Focus

worked.

Think the Intellisense should put the after i select the method or i'm asking too much :)
by balkanweb
Tue Aug 07, 2012 6:47 am
Forum: PowerShell Studio
Topic: textbox Focus
Replies: 2
Views: 2368

textbox Focus

Have a "Search" textbox. after clicking a button i like to clear the search and set it to Focus (so i dont have to select by mouse).
The below clears the textbox but does not focus it. Any idea ??


$txtsearch.text=""
$txtSearch.Focus