Hi There.
how does one execure a powershell command within AHK
How to incorporate Powershel commands
Re: How to incorporate Powershel commands
Hi agags333
You just have to look for "PowerShell" in the forum there are many examples Look this for example
You just have to look for "PowerShell" in the forum there are many examples Look this for example
Donec Perficiam
Re: How to incorporate Powershel commands
Code: Select all
psScript =
(
# This is a comment
Get-HotFix | Select HotFixID,InstalledOn,InstalledBy -First 1
)
; Use this call if you don't want to see PowerShell output
;RunWait PowerShell.exe -Command &{%psScript%} ,, hide
; Use this call if you want to see PowerShell output
Run powershell.exe -NoExit -Command &{%psScript%}
Donec Perficiam
Who is online
Users browsing this forum: mikeyww and 325 guests