PowerShell Cmdlets, Get-________ code line modification to get output in Text file
-
- SilverLounger
- Posts: 1840
- Joined: 25 Jan 2010, 02:12
Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file
If you open a command prompt does pwsh start ps7?
Joe
-
- 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
Yep
https://i.postimg.cc/Jn57Zk19/cmd-gets-cmd.jpg
https://i.postimg.cc/Tw6YK9XV/cmd-pwsh-gets-PS7.jpg
https://i.postimg.cc/Jn57Zk19/cmd-gets-cmd.jpg
https://i.postimg.cc/Tw6YK9XV/cmd-pwsh-gets-PS7.jpg
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,
-
- SilverLounger
- Posts: 1840
- Joined: 25 Jan 2010, 02:12
Re: PowerShell Cmdlets, Get-________ code line modification to get output in Text file
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
-
- 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
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,