Best Guide to use PowerShell Scripts Intune Enterprise App Catalog app
Best Guide to use PowerShell Scripts Intune Enterprise App Catalog app

Best Guide to use PowerShell Scripts Intune Enterprise App Catalog app

Microsoft Intune has introduced a powerful enhancement that allows IT administrators to use PowerShell scripts when deploying applications from the Enterprise App Catalog. This update, released in late September 2025, replaces the previous reliance on static command-line instructions with dynamic scripting capabilities.

Admins can now upload custom .ps1 scripts to automate app installations, perform pre-checks, handle dependencies, and include robust error handling. This approach not only streamlines deployment workflows but also improves consistency and troubleshooting across Windows-managed devices, making it especially beneficial for organizations seeking tailored app delivery.

The guide uses TeamViewer Host (x64) as a practical example, walking through the full deployment process in Intune. It covers selecting the app from the catalog, customizing metadata, uploading install/uninstall scripts, configuring detection rules, and assigning the app to device groups. The scripts provided ensure silent installation and reliable uninstallation, with detailed logging and exit code management.

Once deployed, users can install or remove the app via the Company Portal, while admins monitor deployment status through Intune’s reporting tools. This integration of PowerShell scripting into Intune’s app management framework bridges traditional admin practices with modern cloud-based provisioning.

[New Post] 📌Best Guide to use PowerShell Scripts Intune Enterprise App Catalog app

✅Create TeamViewer Enterprise App Catalog app

✅TeamViewer Host Intune Enterprise App Catalog App Details

✅Configure the TeamViewer Host (x64) App

✅Create PowerShell Scripts for both Installation and Uninstallation of TeamViewer Host (x64) App

✅End User Experience of TeamViewer Host App Deployment

✅Monitor the TeamViewer Host App Deployment in Intune

🛠️ Overview of the Feature

  • Microsoft Intune now supports PowerShell scripts for installing apps via the Enterprise App Catalog, enhancing flexibility and control.
  • This feature was released to GA in late September 2025.
  • Previously, only predefined command-line options were available.

🚀 Benefits of Using PowerShell Scripts

Enables custom logic for installation, such as:

  • Pre-checks
  • Dependency handling
  • Logging
  • Conditional actions
  • Improves troubleshooting with error handling and verification steps.
  • Familiar toolset for Windows admins, bridging traditional scripting with modern Intune management.

📦 Example: Deploying TeamViewer Host (x64)

  • Demonstrates how to deploy TeamViewer Host 15.70.6.0 using PowerShell scripts.
  • Scripts provided for both installation and uninstallation.

Key script features:

  • Silent install (/S /NCRC)
  • Exit code handling
  • Registry and file path checks

🧩 Configuration Steps in Intune

  • Create App: Choose “Enterprise App Catalog” in Intune.
  • Select App: Search and select TeamViewer Host (x64).
  • Customize App Info: Set category, logo, and portal visibility.

Upload Scripts:

  • Set installer/uninstaller type to PowerShell.
  • Upload .ps1 files.
  • Disable signature check; enable 32-bit execution on 64-bit clients.
  • Set Requirements: Example – minimum OS version Windows 11 23H2.
  • Detection Rules: Use file or registry-based detection.
  • Assign to Device Group: Deploy to test group (e.g., HTMD – CPC Test).
  • Review & Create: Finalize and deploy the app.

👨💻 End User Experience

  • App appears in the Company Portal for installation.
  • Users can also uninstall via the portal thanks to the script integration.

📊 Monitoring & Reporting

  • Deployment status and update capabilities are visible in Intune.
  • Admins can track installation success and troubleshoot via logs.

This is the new post published in HTMD Community AnoopCNair.com website and this is related to Best Guide to use PowerShell Scripts Intune Enterprise App Catalog app.

Read Full Article - https://www.anoopcnair.com/powershell-scripts-in-intune-enterprise-app/

#MSIntune #Intune #Microsoft #PowerShellScripts #TeamViewer #EnterpriseApp #IntuneSuite #HTMDCommunity

To view or add a comment, sign in

More articles by HTMD Community

Others also viewed

Explore content categories