Questions tagged [powershell-studio]

Powershell Studio refers to an integrated development environment (IDE) for Powershell. This tag should only be used for questions about Powershell Studio.

Powershell Studio is an for . Powershell Studio features a 32 and 64 bit console, a script editor, debugging tools, a forms designer, integrated help, and conversion to executables.

Useful Links

Tagging Recommendation

This tag should only be used for questions that involve achieving some goal with the tools provided by this software. If you can reproduce your question outside of the Powershell Studio environment, it is likely not appropriate to use this tag.

29 questions
4
votes
2 answers

How can I make a marque in the progress bar using Powershell Studio 2012?

Is anyone familiar with how to make the progress bar show a "moving" effect in a marque-style while performing a script task in Powershell Studio 2012? I do not want it to display a percentage or something. When I hit a button it will start to…
user2782999
  • 385
  • 1
  • 7
  • 23
3
votes
1 answer

Why aren't my radio button.checked comparisons working?

I have three radio buttons that I am working with. No matter which one I select it seems to default to the first one. It's working in regards to actually assigning a value, but the second radio button doesn't seem to be working. if ($radDB1.Checked…
Matt
  • 379
  • 7
  • 18
3
votes
2 answers

Show tabular output in richtextbox

Just installed the PowerShell Studio and I'm trying to view the results of some VMware commands in a richtextbox. When I run the get-vm, for example, it shows the data fine (I changed the font to Lucida Console- and it looks ok), regular get-vm…
user3398455
2
votes
1 answer

Disabled button still triggers Click event

I'm tring to prevent users to rapidly spam-click a button, which would freeze the app possibly for minutes while the code is being executed many times. $searchBtn_clicked = { $searchBtn.Enabled = $false ... some code that fills a listview…
Pascal
  • 57
  • 1
  • 8
2
votes
0 answers

In can't use my variable in a powershell command for a GUI in Powershell Studio

i'm a bit noobie in powershell and i'm trying to build a simple user interface in Powershell Studio 2018 to search for a list of user named like in an active direction. Out of the Powershell Studio it works very fine but inside PSS2018 i can't use a…
Amiga1200
  • 91
  • 7
2
votes
1 answer

Save Powershell Shell Studio 2015 to TFS

Does anyone know how to check in PowerShell Studio Project to TFS in Visual Studio? As you can see in my PowerShell Editor all of the Source Control commands are grayed out. I downloaded and installed the mssi file for Visual Studio 2015 but I can…
Irwin
  • 49
  • 1
  • 1
  • 8
2
votes
1 answer

Create editable powershell GUI for CSV data

GOAL: Create a GUI form populated with CSV data, allow the user to edit the data, then save the data in an array for further manipulation. NOTE: Using PowerShell Studio to generate a form with data from the CSV CURRENT CODE: - Calling code ($path…
McKenning
  • 631
  • 4
  • 20
  • 32
1
vote
0 answers

Candlestick bodies are limited to Zero?

$csv= Import-Csv -Path "path\Collected.csv" | sort InstanceMarket $high = $csv.'Maximum Runup' $low = $csv.'Maximum Drawdown' $open = "0" $close = $csv.'Daily Profit/Loss' $vol = $csv.'Today Total Trades' …
iceman
  • 304
  • 1
  • 10
1
vote
0 answers

Why is closing one form exiting the entire application?

I'm creating a multi-form project in PowerShell Studio, with a splash screen form and a main form. However, closing the splash screen form is exiting the entire application. The project is structured with a Startup.pss file, splash.psf file, and a…
Chris B.
  • 455
  • 7
  • 19
1
vote
1 answer

PowerShell Studio WebBrowser ProgressBarOverlay

I'm creating a web browser in PowerShell Studio, which works with no issues. I'm trying to use a loading bar when using the search functionality, but it has been to no avail. Below is what my browser looks like. The ideas is to only show the loading…
Matt
  • 379
  • 7
  • 18
1
vote
1 answer

Find and replace in XML file with powershell

Right now I am generating an XML file with a GUI using PowerShell Studio 2017. This snippet of code gathers the checked items inside a CheckedListBox: $Groups = $chklistGroups.CheckedItems | ForEach-Object { "$_`n`t`t`t`t" } Some…
Matt
  • 379
  • 7
  • 18
1
vote
1 answer

Auto-generated XML code in powershell

Right now I am using a button to generate unique XML code for every user it creates. Right now my XML looks like this:
Matt
  • 379
  • 7
  • 18
1
vote
2 answers

System.Management.Automation.ExitException: System error in Powershell Studio

I made a script in Powershell: when I import the CSV file I want to check if the users already exists. This is the script: $wshell = New-Object -ComObject Wscript.Shell $adusers = Get-ADUser -SearchBase "DC=KOJ,DC=NL" -Filter * | Select-Object…
Fearcoder
  • 753
  • 3
  • 15
  • 47
1
vote
1 answer

How to run an elevated command prompt through powershell

I am making a Powershell GUI program so I can easily change audit, and password settings with the click of a button. I already have the code to do this, but it's written in batch and so I run it in cmd using CMD /C " "to solve that problem. The new…
1
vote
1 answer

Download SharePoint 2010 Library Items using PowerShell V2 with CSOM

my goal is: Get the items within the folders in a SharePoint 2010 library. I'm struggling trying to get some Items from a SharePoint 2010 Library using CSOM with PowerShell. I tried three different methods that i found in the internet but still…
1
2