EliteLoser / Invoke-PsExec

Svendsen Tech's Invoke-PsExec for PowerShell is a function that lets you execute PowerShell and batch/cmd.exe code asynchronously on target Windows computers, using PsExec.exe.

Home Page:https://www.powershelladmin.com/wiki/Invoke-PsExec_for_PowerShell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invoke-PsExec

Svendsen Tech's Invoke-PsExec for PowerShell is a function that lets you execute PowerShell and batch/cmd.exe code asynchronously on target Windows computers, using PsExec.exe.

Online blog documentation here: https://www.powershelladmin.com/wiki/Invoke-PsExec_for_PowerShell

PowerShell Gallery link: https://www.powershellgallery.com/packages/InvokePsExec/

Example of installation for your user only (elevation not required):

Install-Module -Name InvokePsExec -Scope CurrentUser #-Force.

Example of a PowerShell command through PsExec.exe in PowerShell

PowerShell Invoke-PsExec example

Example of a batch command with PsExec.exe in PowerShell

PowerShell Invoke-PsExec example

About

Svendsen Tech's Invoke-PsExec for PowerShell is a function that lets you execute PowerShell and batch/cmd.exe code asynchronously on target Windows computers, using PsExec.exe.

https://www.powershelladmin.com/wiki/Invoke-PsExec_for_PowerShell

License:MIT License


Languages

Language:PowerShell 100.0%