initparam
Results
comments of
initparam
I am using this code to get my token in my scripts, Works really great - ref. https://blogs.technet.microsoft.com/paulomarques/2016/04/05/working-with-azure-rest-apis-from-powershell-getting-page-and-block-blob-information-from-arm-based-storage-account-sample-script/ ``` function GetAuthToken { param([Parameter(Mandatory=$true)]$ApiEndpointUri, [Parameter(Mandatory=$true)]$AADTenant) $adal = "${env:ProgramFiles(x86)}\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Services\" + `...