Azure Function PowerShell Modules

What Modules Are Available In Azure Functions PowerShell

In this Azure tutorial, we will discuss What Modules Are Available In Azure Functions PowerShell. Along with this, we will also discuss a few other topics like Default PowerShell modules Azure Functions, etc.

What Modules Are Available In Azure Functions PowerShell? Now Azure Function supports different modules. There are many PowerShell modules that are supported in the case of Azure Functions, Below are a few among them

  • AppLocker
  • Appx
  • AppBackgroundTask
  • Az.Accounts
  • Az.Advisor
  • Az. Compute
  • AzureAD

We will discuss all the lists of modules below in detail with the version.

Azure Function PowerShell Modules

You can create the Azure Functions using the C#, JavaScript, java, etc. Same way, you can create the Azure Functions using PowerShell. You can build your PowerShell script based on your business requirement and run it as part of your Azure Functions app.

Azure Function with PowerShell executes the PowerShell script when it triggers. Same way as the Azure Function in other languages, it has also the function.json file that actually defines the behavior of the Azure function like the input and out parameters for the function and how the Azure function triggered.

There are different PowerShell modules are supported in the case of Azure Functions. Below are the lists of some key modules with the version details.

Module NameVersion
AppLocker2.0.0.0
Appx2.0.1.0
AppBackgroundTask1.0.0.0
AppvClient1.0.0.0
AssignedAccess1.0.0.0
Az.Accounts1.9.2 and 1.7.5
Az.Advisor1.1.1
Az.Aks1.0.3 and 1.2.0
Az.AnalysisServices1.1.2 and 1.1.4
Az.ApiManagement2.1.0 and 1.4.1
Az.ApplicationInsights1.0.3 and 1.1.0
Az.Automation1.3.6 and 1.3.7
Az.Batch2.0.2 and 3.1.0
Az.Billing1.0.2 and 1.0.3
Az.Cdn1.4.3
Az.CognitiveServices1.3.0 and 1.5.1
Az.DNS3.7.0 and 4.2.1
Az.ContainerInstance1.0.3
Az.ContainerRegistry1.1.1
Az.DataBoxEdge1.1.0
Az.DataFactory1.7.0 and 1.9.0
Az.DataLakeAnalytics1.0.2
Az.DataShare1.0.0
Az.DeploymentManager1.1.0
Az.DesktopVirtualization1.0.0
Az.DevTestLabs1.0.2
Az. Monitor1.1.2
Az.EventGrid1.2.3 and 1.3.0
Az.EventHub1.5.0 and 1.4.3
Az.FrontDoor1.4.0 and 1.6.1
Az.Functions1.0.1
Az.HDInsight3.1.0 and 3.4.0
Az.HealthcareApis1.1.0 and 1.0.1
Az.IotHub2.5.0 and 2.4.0
Az.KeyVault2.0.0 and 1.6.0
Az.LogicApp1.3.2
Az.MachineLearning1.1.3
Az.Maintenance1.0.0
Az.ManagedServices1.0.2
Az.MarketplaceOrdering1.0.2
Az.Media1.1.1
Az.Monitor1.7.0 and 2.0.2
Az.Network2.5.0 and 3.3.0
Az.NotificationHubs1.1.1
Az.OperationalInsights1.3.4 and 2.3.0
Az.PolicyInsights1.3.1 and 1.3.0
Az.PowerBIEmbedded1.1.2 and 1.1.1
Az.PrivateDns1.0.3 and 1.0.2
Az.RecoveryServices2.11.1 and 2.8.0
Az.RedisCache1.2.1
Az.Relay1.0.3
Az.Resources 1.13.0 and 2.4.0
Az.ServiceBus1.4.1
Az.ServiceFabric2.1.0 and 2.0.2
Az.SignalR1.1.1
Az.Sql2.9.1 and 2.6.0
Az.SqlVirtualMachine1.1.0
Az.Storage2.4.0 and 1.14.0
Az.StorageSync1.3.0 and 1.2.3
Az.StreamAnalytics1.0.1
Az.Support1.0.0
Az.TrafficManager1.0.4 and 1.0.3
Az.Websites1.11.0 and 1.8.0
AzTable2.0.3
AzureAD2.0.2.106
AzureADPreview2.0.2.105 and 2.0.2.102
BitLocker1.0.0.0
BitsTransfer2.0.0.0
BranchCache1.0.0.0
CimCmdlets1.0.0.0
ConfigCI1.0
ConfigDefender1.0
Defender1.0
DeliveryOptimization1.0.2.0
DirectAccessClientComponents1.0.0.0
Dism3.0
DnsClient1.0.0.0
EventTracingManagement1.0.0.0
International2.0.0.0
iSCSI1.0.0.0
ISE1.0.0.0
Microsoft.Online.SharePoint.PowerShell16.0.20017.0
Microsoft.PowerShell.Archive1.0.1.0
Microsoft.PowerShell.Diagnostics3.0.0.0
Microsoft.PowerShell.Host3.0.0.0
Microsoft.PowerShell.LocalAccounts1.0.0.0
Microsoft.PowerShell.Management3.1.0.0
Microsoft.PowerShell.ODataUtils1.0
Microsoft.PowerShell.Operation.Validation1.0.1
Microsoft.PowerShell.Security3.0.0.0
Microsoft.PowerShell.Utility3.1.0.0
Microsoft.WSMan.Management3.0.0.0
MMAgent1.0
MsDtc1.0.0.0
MSOnline1.1.183.57
MSOnlineBackup2.0.0.0
NetAdapter2.0.0.0
NetConnection1.0.0.0
NetEventPacketCapture1.0.0.0
NetLbfo2.0.0.0
NetNat1.0.0.0
NetQos2.0.0.0
NetSecurity2.0.0.0
NetSwitchTeam1.0.0.0
NetTCPIP1.0.0.0
NetworkConnectivityStatus1.0.0.0
NetworkSwitchManager1.0.0.0
NetworkTransition1.0.0.0
PackageManagement1.4.7, 1.0.0.1 and 1.0.0.0
PcsvDevice1.0.0.0
PersistentMemory1.0.0.0
Pester1.0.0.0
PnpDevice1.0.0.0
PowerShellGet1.0.0.1
PrintManagement1.1
ProcessMitigations1.0.11
Provisioning3.0
PSDesiredStateConfiguration1.1
PSDiagnostics1.0.0.0
PSReadline2.0.0
PSScheduledJob1.1.0.0
PSWorkflow2.0.0.0
PSWorkflowUtility1.0.0.0
ScheduledTasks1.0.0.0
SecureBoot2.0.0.0
SharePointPnPPowerShellOnline3.21.2005.2
SmbShare2.0.0.0
SmbWitness2.0.0.0
SQLASCMDLETS1.0
SQLPS1.0
StartLayout1.0.0.0
Storage2.0.0.0
StorageBusCache1.0.0.0
TLS2.0.0.0
TroubleshootingPack1.0.0.0
TrustedPlatformModule2.0.0.0
VpnClient2.0.0.0
WindowsSearch1.0.0.0
WindowsUpdate1.0.0.0
WindowsUpdateProvider1.0.0.2

Default PowerShell modules Azure Functions

You can always check the latest versions of the PowerShell module supported in the case of Azure functions using the below PowerShell script. If you are already using the Visual Studio Code for your Azure PowerShell function development. In Visual Studio code itself, you can able to check the different PowerShell modules along with the versions for the Azure Function.

Write-Output ‘Azure Function PowerShell Module’

$modules = Get-Module -ListAvailable | Select-Object Name, Version | Sort-Object -Property Name | Out-String

Write-output `n$modules

You can open a new terminal in the Visual Studio Code IDE, and run paste the above PowerShell script to get the list of PowerShell modules available for your Azure PowerShell function. As of now, these are the modules that are supported or available for the Azure Functions.

What Modules Are Available In Azure Functions PowerShell

You may also like following the below Articles

Wrapping Up

Well, in this article, we discussed, What Modules Are Available In Azure Functions PowerShell, and Default PowerShell modules Azure Functions. Hope you enjoyed this Article !!!.