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
    | 496 downloads | Last Updated: 12/1/2025 | Latest Version: 1.0.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.

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

    1
    Package

    496
    Total downloads of packages

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