Giter VIP home page Giter VIP logo

pac-crescendo's Introduction

Power Platform CLI - PowerShell

This is a PowerShell extension build using Crescendo to help power users run some pac commands quickly.

Pre-requisites

Install the following modules

Install-Module -Name Microsoft.PowerShell.TextUtility -AllowPrerelease -Scope CurrentUser
Install-Module -Name Microsoft.PowerShell.ConsoleGuiTools -Scope CurrentUser

Since this is a wrapper on top of Power Platform CLI, you'll also need to have pac in your machine. Please also run pac auth create once to create an auth profile for the Default Environment, so that you will have atleast one connection setup in your machine before you run the PowerShell commands.

Installation

You can now install the PACPowerShell module from PowerShell Gallery by running

Install-Module -Name PACPowerShell -AllowPrerelease -Scope CurrentUser

Available Commands

# Command Description
1 Add-AuthProfiles Creates Auth profiles for all the environments that you have access. Access is determined by output of pac org list command
2 Select-AuthProfile Select a specific auth profile
3 Get-UnmanagedSolutions Displays the list of Unmanaged solutions for the current auth profile
4 Get-ManagedSolutions Displays the list of Managed solutions for the current auth profile
5 Export-Solutions Exports the selected Unmanaged solutions to the current folder
6 Expand-Solutions Exports the selected Unmanaged solutions and also unpacks it using pac solution clone
7 Get-Users Displays users along with their role
8 Get-UsersInRole Displays users who have a specific role. Use -Role argument to specific the role name e.g Get-UsersInRole -Role "System Administrator"
9 Deploy-ManagedSolution Take unmanaged solution from source environment and deploys it as Managed to a target environment

Contributing

Install Crescendo using

Install-Module -Name Microsoft.PowerShell.Crescendo -AllowPrerelease

You can add additional commands to pac.crescendo.json and build the Crescendo module using

Export-CrescendoModule -ConfigurationFile pac.crescendo.json -ModuleName PACPowerShell -Force; Import-Module ./PACPowerShell.psd1 -Force

pac-crescendo's People

Contributors

rajyraman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.