Ironman Software Forums » PowerShell Tools
179 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
3d ago
Tool: Visual Studio Code
Version: 1.88.1 (system setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19045
Tool: Powershell Pro Tools extensions for VSCode
Version: 2024.3.1 and 2023.12
Open with PSScriptPad and Show Form Designer show PSScriptPad splash screen then closes. Event viewer shows
Application: PSScriptPad.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception ..read more
Ironman Software Forums » PowerShell Tools
3d ago
Hello everyone,
is possible to include folders and other files inside exe file?
For example i have Desktop Shortcut that i want to include into exe file, and inside script i have function that copy icon from exe file to user desktop.
Is possible to do that with PowerShell ProTools?
Thanks.
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
2w ago
i have vs 2022 community edition and the powershell tools, i am making a Windows Form app and struggling a bit with something. when i get my form looking the way i like it i saved it. then a couple days later i came back and added some functions to the code for buttons, datagridview and textboxes. Now, here is where it gets weird, i have the code and i go and in the designer lets say move a button down a bit and save it, ALL of my functions and logic are gone!. does anyone have any ideas? also i have 1 button in a spot where its off a bit and i move it back see its fine and save and run the ap ..read more
Ironman Software Forums » PowerShell Tools
3w ago
Tool: Visual Studio 2022 PowerShell Tools
Version: 2024.3.0
Hello There,
I am fairly new to using visual studio 2022 and the powershell tool.
I have downloaded and installed the powershell tools for Visual Studio 2022 extension and I am getting an error packaging a very simple winForm.ps1 to exe
The error i get is
|Error||Failed to start external PowerShell process to determine modules. The system cannot find the file specified|PowerShellProject2|D:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\PowerShell Tools for Visual Studio\PowerShellTools.targets|14||
Output:
Build st ..read more
Ironman Software Forums » PowerShell Tools
3w ago
Tool: Visual Studio
Version: 2022 17.6.3
Prior to some recent updates, I would Start my solution, which would build the .exe for me in the bin\release folder. It would also create a couple of extra files (solution.exe.config, solution.pdb, Microsoft.PowerShell.ConsoleHost.dll, System.Management.Automation.dll) I believe should go with the exe to launch properly. I would obfuscate the exe prior to generation and had no problems.
Now, it no longer creates those extra files, but appears to create a “bin” folder with the .exe that has various items in it. If I do NOT obfuscate the .exe i can lau ..read more
Ironman Software Forums » PowerShell Tools
1M ago
I am using Visual Studio Code on ubuntu and the error “command ‘powershell.showWinFormDesigner’ not found” showed up. I have installed both PowerShell and PowerShell Pro Tools. On the bottom right it keeps saying PowerShell Pro Tools is connecting and it never did. Please help, thank you!
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Installed the plugin for VSCode when I do ctl shift P and open forms editor get command not found winformsdesigner.
Uninstalled and reinstalled
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
2M ago
Hi.
Previously I remember that when an error appear in “Error List” it were showed in source code too.
Or warning were showed with a green wavy in the code.
What am I missing?
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
2M ago
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: 17.9.0
Powershell pro Tools for visual Studio - 1.0
Hi,
the $Script scope does not work in the generated exe. It works in Powershell ISE.
i have variable $SelectedFolderWS = “C:\temp”
the value of the variable is not modified in a function.
function ActioncbFoldWSChange {
$Script:SelectedFolderWS = join-path -path $SelectedFolderWS -childpath $cbFoldWS.selectedItem
}
thank you for your attention
2 posts - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
2M ago
PowerShell Pro Tools failed to connect in Vistual Studio Code. It suggests to check out the output channel for PowerShell pro tools.
I have subscribed to the PowerShell Pro Tools.
Would someone please help me out here?
Sikandar
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:
1 post - 1 participant
Read full topic ..read more