PowerShell Cmdlets, Get-________ code line modification to get output in Text file
-
- SilverLounger
- Posts: 2071
- 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
-
- 5StarLounger
- Posts: 603
- Joined: 18 Jan 2022, 15:59
- Location: Re-routing rivers, in Hof, Beautiful Bavaria
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.
I seriously don’t ever try to annoy. Maybe I am just the kid that missed being told about the King’s new magic suit, :(
-
- SilverLounger
- Posts: 2071
- 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
-
- 5StarLounger
- Posts: 603
- Joined: 18 Jan 2022, 15:59
- Location: Re-routing rivers, in Hof, Beautiful Bavaria
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.
I seriously don’t ever try to annoy. Maybe I am just the kid that missed being told about the King’s new magic suit, :(