Questions tagged [azure-powershell]

The Azure module for PowerShell allows administrators to accomplish management tasks for Azure resources. The Az wrapper module includes only stable modules, the AzPreview wrapper module includes all PowerShell modules for Azure allowing to manage resources in all Azure services.

The Azure Modules for PowerShell allows administrators to accomplish many Azure management tasks through a series of cmdlets. The modules include the new Az module and the older AzureRM module (due to retire by Feb 2024).

References:

  1. Overview of Azure PowerShell

  2. PowerShell Module Browser: Search for PowerShell modules and cmdlets.

2843 questions
6
votes
1 answer

Azure Data Factory Disable Triggers On Release

I've been trying to get Data Factory Deployments working through VSTS and am mostly there, but I'm getting a failure due to the triggers needing to be disabled to be overwritten. Error message below: Remove-AzureRmDataFactoryV2Trigger : HTTP Status…
6
votes
1 answer

Connection to Service Fabric Cluster Endpoint From Behind Corporate Proxy

I have created one Service Fabric Cluster but I am not able to connect to it's endpoint. Currently I am behind Corporate Proxy so I think this is the reason to not get connected.As connection is working from my non proxy environment(Free Internet…
pixelbyaj
  • 1,178
  • 1
  • 9
  • 22
6
votes
3 answers

Is there a way to configure CosmosDB to use both the SQL (DocumentDB) and MongoDB APIs?

When I create a new CosmosDB database in the Azure Portal, I have to choose between the various APIs (Gremlin, MongoDB, SQL/DocumentDB, and Table.) As with soo many other limitations of the Azure Portal, I'm hoping that there is a way to configure…
Greg Thatcher
  • 1,303
  • 20
  • 29
6
votes
1 answer

Azure Powershell Workflow - Input Parameters Not Found

Background I have a workflow defined using a straightforward template from within Azure. workflow Use-SqlCommandSample { param( [parameter(Mandatory=$True)] [string] $SqlServer, [parameter(Mandatory=$False)] [int] $SqlServerPort =…
Nick Heidke
  • 2,787
  • 2
  • 34
  • 58
6
votes
3 answers

Unable to Add Azure DB Firewall Rule to Allow Build Server to Run Tests

We use a Visual Studio Online-hosted build server to automate our build process. As part of this I'm looking into adding unit and integration tests into this process. These tests require access to our SQL Azure DBs (2 of them, both on the same…
6
votes
5 answers

How to include "Plan information" when creating ARM VM from a captured image using Powershell?

I have a ARM VM created from a Marketplace: bitnami LAMP (Ubuntu) I've successfully captured an image. During the capture I've saved the json template. Using a template based on that I can successfully create new VMs via the portal's Template…
g.pickardou
  • 32,346
  • 36
  • 123
  • 268
6
votes
2 answers

Azure automation powershell, not work int input parameter

I use azure automation, and have code like this workflow Report { param ( [parameter(Mandatory=$True)] [string] $Name, [parameter(Mandatory=$true)] [Int] $MyCount ) inlinescript { …
pasha
  • 566
  • 5
  • 19
6
votes
2 answers

Get-AzureVM Returns Nothing - Tried suggestions

For some reason I do not get any information when I run Get-AzureVM or Get-AzureRmVm. I used the following to login: Login-AzureRMAccount. I can see all of my subscriptions by doing Get-AzureSubscription | select SubscriptionName. I am running…
Rollersloft
  • 73
  • 1
  • 5
6
votes
4 answers

Terminate Azure VM after 30 days automatically

In my day today activity I create test vm in azure and then delete it. For some reason this time I am planning to create 100 test vms and I want to implement a scheduling mechanism (through powershell or AzureRunbook) so that the servers created can…
Aatif Akhter
  • 2,126
  • 1
  • 25
  • 46
6
votes
2 answers

How to hide warnings from Azure PowerShell cmdlets

Am getting warnings when i invoke some azure commandlets. Example: Get-AzureStorageAccount -StorageAccountName $storageName -ErrorAction SilentlyContinue -WarningAction SilentlyContinue -verbose:$false New-AzureStorageAccount -StorageAccountName…
Pradebban Raja
  • 443
  • 5
  • 20
6
votes
0 answers

Cannot find Clear-WindowsAzureLog

There are several references to Clear-WindowsAzureLog, including one here - Windows Azure - Cleaning Up The WADLogsTable However, I can't find it in the latest release of the Azure Powershell (https://github.com/Azure/azure-powershell) Has it been…
Alexey Yeltsov
  • 333
  • 2
  • 13
6
votes
2 answers

Azure Cmdlets: String was not recognized as a valid Boolean

I am using Start-AzureWebsite (as well as Stop-AzureWebsite) azure powershell cmdlet to start azure website. It was working for about 3 months and stopped working 2 days ago (January 31, 2014) (without any changes to environment). Now both cmdlets…
petro.sidlovskyy
  • 5,075
  • 1
  • 25
  • 29
6
votes
3 answers

Azure Powershell Select-AzureSubscription with subscription id

I am using Powershell Azure cmdlets to do some operation on each subscription I have. However, all my subscriptions have the same name. So if I do an operation like: $subs | ForEach-Object { Select-AzureSubscription -Current -SubscriptionName…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214
5
votes
3 answers

Unable to connect to the server: getting credentials: exec: executable kubelogin not found

I created new config file for Kubernetes from Azure in Powershell by az aks get-credentials --resource-group --name . Got a message that Merged "cluster_name" as current context in C:\michu\.kube\config. I copied this file into…
Michu93
  • 5,058
  • 7
  • 47
  • 80
5
votes
2 answers

How can I cancel all import/export operations on an Azure SQL Server using PowerShell

I'm trying to work out the PowerShell syntax for cancelling all pending import/export operations on an Azure SQL Server. I know that I can use Stop-AzSqlDatabaseActivity cmdlet but this requires a database name (the database might not already exist…
Dave Hall
  • 51
  • 1
  • 5