![Ironman Software Forums » PowerShell Tools](https://i1.feedspot.com/5235125.jpg?t=1610509886)
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
2w ago
A few years back I developed a WPF based PowerShell app that is used to process paper mailouts a couple of times a year. The PC that I developed it on died a month or so back. Since I created that App I have been working mainly on Linux, so my recollection as to how I put the app together is a bit hazy (yeah I know … keep notes!) So I created a new setup (based on Windows 11 rather than 10 for ease of new motherboard support) Firstly Visual Studio with tools won’t open the project. It says the project is incompatible
On inspecting the various .ps1 files in the project there is a RTMinvocing.d ..read more
Ironman Software Forums » PowerShell Tools
3w ago
After installing from vsix, the extension seems to be stuck starting/connecting.
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: 2024.7.0
2 posts - 2 participants
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
3w ago
Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:
I’m in need of upgrading my license for PowerShell Pro Tools. So today I went to the site to see how much it was to get the expenditure approved. I saw that the tool is being deprecated and will move to be Open Source. I would just like to get clarification, if we have a valid license at the time of the change, will we need to get a new license or will it never expire? I also want to say thanks to Adam for this product which saved me a lot of trouble in the past. I am sorry to see that it has dwindled in use.
1 ..read more
Ironman Software Forums » PowerShell Tools
1M ago
####Script ####
Set the script execution policy for this process
Try { Set-ExecutionPolicy -ExecutionPolicy ‘ByPass’ -Scope ‘Process’ -Force -ErrorAction ‘Stop’ } Catch {}
$logpath = “C:\Migration\Logs\Prompt_v2.log”
$Date =Get-Date -Format ‘dd/MM/yyyy’
function write-log ($severity, $message) {
switch ($severity) {
w {
# Warning
Write-Output “$(get-date -uFormat “%Y/%m/%d %H:%M:%S”) -W- $message” | Out-File $logpath -Append
break
}
E {
# Error
Write-Output “$(get-date -uFormat “%Y/%m/%d %H:%M:%S”) -E- $message” | Out-File $logpath -Append
break
}
default {
# Information
Write-Output “$(get-da ..read more
Ironman Software Forums » PowerShell Tools
1M ago
Tool: Visual Studio Code
I had to key my Powershell Pro Tools license again in to VS Code. It seemed to work, but I get a message about “There is no data provider registered that can provide view data.” I assume this is there because the module(s) had not loaded. After the Import-Module process completes, the “Jobs”, “Modules”, “Providers”, etc. boxes go in to a continuous scan and do not provide any additional information. Any idea on how to correct this?
1 post - 1 participant
Read full topic ..read more
Ironman Software Forums » PowerShell Tools
2M ago
Tool: Visual Studio 2022
Version: Latest version Trial
Hi, i’m currently evaluating Powershell pro tool and I have questions. ( by the way I followed the documentation and didn’t find what I want.)
See below my use case;
I want to create a powershell module with a reference to a c# .net core dll who will contain function I want to run in powershell. I add the second project in the powershell module project and I add the project as a reference in my module project. See the image below, for example.
My goal is to do something like that in my script
$instance = New-Object vCube_Framework.DB -A ..read more
Ironman Software Forums » PowerShell Tools
2M ago
Hi,
I’ve been looking for an explanation of how to run a function from PoshPT VSCode WinForms without it freezing up the UI. I saw runspaces mentioned but I’ve not had any luck getting this to work. I also saw a link Adam added to one response but the link is not dead. Would it be possible to have a template or quick YouTube video made of how to do this with PoshPT? I also checked YouTube but the explanations are not PoshPT specific and do not work with PoshPT. Or most likely I just don’t know what I don’t know and I’m doing something wrong.
So to recap, what I’m looking to do is:
Create a Po ..read more
Ironman Software Forums » PowerShell Tools
3M 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
3M 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
3M 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