Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.09 KB

powershell-installation.md

File metadata and controls

55 lines (40 loc) · 2.09 KB
title description author ms.reviewer ms.component ms.topic ms.date ms.subservice ms.author search.audienceType
Programmability and Extensibility - PowerShell - Installation
PowerShell for Power Platform Administrators installation
laneswenka
sericks
pa-admin
reference
05/09/2023
admin
laswenka
admin

Installing PowerShell for Power Platform Administrators

PowerShell in this article requires PowerShell version 5.x. This will be updated to use a newer version in the future. To check the version of PowerShell running on your machine, run the following command:

$PSVersionTable.PSVersion

If you have an outdated version, see Upgrading existing Windows PowerShell.

Important

The modules described in this document use .NET Framework. This makes it incompatible with PowerShell 6.0 and later, which use .NET Core.

Requirements

To run the PowerShell cmdlets for app creators, do the following:

  1. Run PowerShell as an administrator.

    [!div class="mx-imgBorder"] Run PowerShell as an administrator.

  2. Import or update the necessary module by using one of the following commands:

    Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
    Update-Module -Name Microsoft.PowerApps.Administration.PowerShell

    Alternatively, if you don't have admin rights on your computer, you can use the following to use these modules:

    Save-Module -Name Microsoft.PowerApps.Administration.PowerShell -Path
    Import-Module -Name Microsoft.PowerApps.Administration.PowerShell
  3. If you are prompted to accept the change to the InstallationPolicy value of the repository, accept [A] Yes to All modules by typing A and pressing Enter for each module.

    Accept InstallationPolicy value.