title: How to call Azure PowerShell Module commands in Azure Functions 3.x PowerShell 7?
body: <p>I need to run Azure PowerShell Module commands (<a href="https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.2.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.2.0</a>) scripts in an Azure Functions 3.</p>
  <p>I prefer not to run <code>Install-Module</code> on every function call. I expect there is a better way of doing it. Azure PowerShell Module is fairly big.</p>
  <p>I am going through the following documentation and I am not able to find any reference on how to call Azure PowerShell Module commandsL
  <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal</a></p>
  <p>How to call Azure PowerShell Module commands in Azure Functions 3.x PowerShell 7?</p>