
Ironman Software Forums » PowerShell Tools
1,000 FOLLOWERS
This category is for PowerShell Tools for Visual Studio, PowerShell Pro Tools, and the related features, help, and questions.
Ironman Software Forums » PowerShell Tools
1w ago
Tool: Visual Studio Code, PSScriptPad, PowerShell 7.3
Version: Extension v2023.3.0
Hello all,
I have a Script wit a dot sourced designer.ps1 file. Basically what is defined in the Design are a few Checkboxes and based on what I select it will install some Software when OK is Clicked.
This works fine when Packaging as exe using Windows Powershell 5.1. Powershell 7.2 also seems to open fine, it shows the GUI and everything works.
But when I Package using Powershell 7.3 and .net7.0 in the Package.psd1 file, it packages into the exe without errors. But when I open the executable, it shows and im ..read more
Ironman Software Forums » PowerShell Tools
3w ago
Tool: Visual Studio Code
Version: 1.76.0
Hi,
I’m running into the below error when attempting to package a script as an exe in VS Code.
I’ve scrubbed out the local source as it contains machine name. The local source was one of my trusted PSRepositories, but I’ve since removed it and still running into this error.
In the psd1, I’m using DotNetVersion v4.6.2. After attempting to package as exe, the ‘out’ folder is created, but it is empty. Would appreciate any help or guidance. Thank you.
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
3w ago
Tool: Visual Studio
Version: newest
Been trying for 5 days now to figure out why when I build my script for exe and bundle everything together then Start-Threading is not working at all.
I have a Start-ThreadJob that is logging everytime it does something, I have passed the log path to the scriptblock. But no matter what I do it never actually starts the script it seems.
I have “Bundle” “Package as Executable” “Package Modules” “Obfuscate Executable” enabled and running as powershell 7.2.7. net6.0 windows, x64.
I have tried a million different solutions, but none of them are working. It need ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:
Hi Everyone, I am trying to create a new Forms UI for a fairly lengthy PowerShell Script. The Script was previously run at the PowerShell Command Line…
When I create a PowerShell Form Solution in Visual Studio 2022, there is an initial PowerShellFormProject1.ps1 for the Forms
How do I add additional .PS1 files and Share information between them and the PowerShellFormProject.ps1 code
Should I define $global: … variables?
Should I declare them in a .psm1 file?
Also, where should I put code that initializes the ap ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:
I am seeing this error “command ‘powershell.packageAsExe’ not found” which is why package as exe isn’t working. How do I fix this?
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
1M ago
When packaging an exe using the Ironman winforms host I try to execute the exe and nothing happens. When I revert to IronmanPowerShellHost I get a console and it says that I am unlicensed.
How do I attach a license so that a client can execute the exe?
Unhandled Exception: System.Exception: Unknown license status.
at IronmanPowerShellHost.ResourceLoader.LoadResources()
at IronmanPowerShellHost.Program.Main(String args)
Tool: Visual Studio Code
Version: Latest
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
1M ago
I’m wondering if somebody can shed some light on an issue. When I’m in designer and add a MonthCalendar object to a form and set the min and max date, the designer blanks the dates that are not within range. however when I run the form, it shows all dates and just doesnt let you select them. I’m certain it must be some runtime option but I cannot figure out what it could be
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Tool: Visual Studio, PowerShell Pro Tools
Version: 2022 Community, and the latest version of PowerShell Tools (2023.2.0)
When I set the PowerShell version to Windows PowerShell (Integrated - x64), all of my labels and UI elements are anti-aliased correctly and look great.
When I set the PowerShell version to PowerShell 7 (x64), all of my labels and UI elements look horrible and jagged. Like there is no ClearType on.
Compare the forms:
How do I get both PowerShell 7 and Anti-Aliasing (Cleartype) working again? Is this a known change? I really don’t want to stick with PowerShell 5 for this pr ..read more
Ironman Software Forums » PowerShell Tools
1M ago
hello
i created simple form with simple code. When i update code and run it, it will run previous build. when i close it and run it again, i see form with updated code. Is that normal behavior ?
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Hi there
I just paid for an individual license, but when I refresh here nothing shows up. Can someone take a look?
Thanks much.
1 post - 1 participant
Read full topic ..read more