Skip to content

yamamoWorks/anypoint-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApIcon Anypoint PowerShell (unofficial)

Powershell cmdlet for MuleSoft Anypoint Platform.
https://anypoint.mulesoft.com/

ExampleGif

Modules

Below is a table containing our Anypoint PowerShell rollup module.

Description Module Name PowerShell Gallery Link
MuleSoft Anypoint Platform Anypoint Ap

Installation

PowerShell Gallery

Run the following command in an elevated PowerShell session to install the rollup module for Anypoint PowerShell cmdlets:

Install-Module -Name Anypoint

This module runs on Windows PowerShell 5.x or PowerShell Core 6.x, PowerShell 7.x.

If you have an earlier version of the Anypoint PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:

Update-Module -Name Anypoint

Usage

Login to Anypoint Platform

To connect to Anypoint Platform, use the Login-ApAccount cmdlet:

# Interactive login - Input username and password.
Login-ApAccount

# Credential login - Use a previously created credential.
$credential = Get-Credential -UserName "maxthemule"
Login-ApAccount -Credential $credential

Discovering cmdlets

Use the Get-Command cmdlet to discover cmdlets within a specific module, or cmdlets that follow a specific search pattern:

# List all cmdlets in the Anypoint module
Get-Command -Module Anypoint

# List all cmdlets that contain Api in the Anypoint module
Get-Command -Module Anypoint -Name '*Api*'

See more