ProcessEx

Exposes the Windows Process creation Win32 functions in PowerShell (by jborean93)

ProcessEx Alternatives

Similar projects and alternatives to ProcessEx

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ProcessEx alternative or higher similarity.

ProcessEx reviews and mentions

Posts with mentions or reviews of ProcessEx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-17.
  • Run process without elevation from a powershell script running with elevation
    2 projects | /r/PowerShell | 17 May 2023
    If it's as another user then using Start-Process ... -Credential $cred will give you a process that is not elevated. If you want to start it as the current user there isn't really an easy way to do so with the cmdlets builtin and what dotnet offers you. If you are open to using a custom module I have ProcessEx which exposes the ability to start a new process with a custom parent. With this you can set the parent as explorer.exe which will be unelevated and the process inherits the same access token.
  • Run PowerShell command NOT as admin
    1 project | /r/PowerShell | 8 May 2023
    There are a few ways you can spawn a sub process as the limited token but it's not something you can easily do with the builtin cmdlets and dotnet APIs available. The simplest option I know is to spawn a new process with a custom parent that is not elevated. For example I can use my ProcessEx module to spawn a limited process with the parent of explorer.exe.
  • Start-Process doesn't work with -credential parameter on Windows Server Core
    3 projects | /r/PowerShell | 16 Jan 2023
    Using Start-ProcessWith with a -Credential object should work for both running in session 0 (Enter-PSSession) and using the -Wait parameter to wait for it to complete. Unfortunately it will spawn in a new window (which you can hide though). If you want it to run the new process as another user but in the same window you essentially need Start-ProcessEx with a -Token. This allows you to spawn a process in the current terminal but unfortunately the -Token side requires privileges that not even normal Administrators typically have, thus would need to be run as SYSTEM.
  • Executable that only returns stdout and defies all redirection
    2 projects | /r/PowerShell | 19 Dec 2022
    For Windows, the only thing you can do with an exe like this is to rely on the ConPTY APIs Windows provides and reads from that. Unfortunately there is no builtin way to do this with PowerShell so you are reliant on either writing the PInvoke code yourself or using a 3rd party module. I have one called ProcessEx which can be used to spawn a new process under a ConPTY and capture that as a string with the following:
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 4 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic ProcessEx repo stats
5
30
3.0
7 months ago

jborean93/ProcessEx is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of ProcessEx is C#.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com