PowerShell Cmdlets, Get-________ code line modification to get output in Text file

JoeP
SilverLounger
Posts: 1840
Joined: 25 Jan 2010, 02:12

Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file

Post by JoeP »

If you open a command prompt does pwsh start ps7?
Joe

User avatar
DocAElstein
3StarLounger
Posts: 327
Joined: 18 Jan 2022, 15:59
Location: Naked, in Hof, Bavaria, Germany

Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file

Post by DocAElstein »

You do not have the required permissions to view the files attached to this post.
Sure you can give me a DVM instead, when you take the AVOmeter out of my cold dead hands,

JoeP
SilverLounger
Posts: 1840
Joined: 25 Jan 2010, 02:12

Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file

Post by JoeP »

I'm just guessing but maybe the VBA script needs the full path to the executable. Or try pwsh.exe instead of just pwsh first.
Joe

User avatar
DocAElstein
3StarLounger
Posts: 327
Joined: 18 Jan 2022, 15:59
Location: Naked, in Hof, Bavaria, Germany

Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file

Post by DocAElstein »

Thx, Joe, I will experiment a bit with that idea later and report back if I get anywhere.
Sure you can give me a DVM instead, when you take the AVOmeter out of my cold dead hands,