Skip To Content
PowerShell Gallery Home

PowerShell Gallery

  • Packages
  • Publish
  • Documentation
  • Sign in
  • mr-mh79 

    Invoke-AsCurrentUser_WithArgs icon Module

    Invoke-AsCurrentUser_WithArgs

    By:
    • mr-mh79
    | 885 downloads | Last Updated: 3/13/2026 | Latest Version: 1.1.0

    Execute PowerShell scriptblocks in the context of the currently logged-in user from a SYSTEM context. Ideal for Intune deployments, SCCM task sequences, and scheduled tasks. Supports argument passing, transcript capture, stream capture, and configurable timeouts.

    • Tags
    • RunAsUser
    • Intune
    • SCCM
    • SYSTEM
    • UserContext
    • Deployment
    • Windows
    gravatar

    1
    Package

    885
    Total downloads of packages

    Contact Us
    Terms of Use
    Privacy Policy
    Gallery Status
    Feedback
    FAQs
    © 2026 Microsoft Corporation