Automation and DSC

10 Conversations

Latest Activity

Custom List Message Item



i was try to install this microsoft template (https://github.com/MSBrett/azure-quickstart-templates/tree/master/sql-server-2016-fci-existing-vnet-and-ad). i'm using Azure AD domain services the users i'm using are member of (AAD DC Administrators) f

... Read More
0 Reply

Hello Team,


I am working one of the customer enterprise environment azure cloud automation tasks. From azure perspective past couple of days working and trying to setup lot of things including Azure Runbook. I am trying to create a powershell script/wor

... Read More
2 Replies

This is pretty straightforward to do, and I have implemented this as part of Azure self-healing and operations scripts in Azure Automation. 


You need to look at leverag

... Read More

look into WinRM 

Use something like this to make the connection to the vm 


If you don't know the names of the VM's you would use something like 


$vmList = get-AzureRm

... Read More

I am unable to add VMs as DSC Nodes in my Azure Automation Account.  So I tried to install the dsc extension using the powershell cmdlet "Register-AzureRmAutomationDscNode".  This failed with the error (Somes details removed and replaced with < .. >)



... Read More
2 Replies

for this to work you need to have your DSC scripts uploaded and compiled within the automation account first. 


Upload Step code excerpt

Upload-DscScript -automationAcco

... Read More

Good day, 


I created a server for a client but would need the RAM to be increased from 8GB to 16GB for 2 weeks out of the month then revert to 8GB automatically. Is it possible to do so if the server is not a part of an availability set? A shutdown to do

... Read More
2 Replies

Hi Dwayne,


If you want to use auto scale feature I recommend to use Azure Scale Set. From Scale set we can configure scale out or in according to the metrics provided.

... Read More

pretty easy to do just create a runbook and throw a schedule on the runbook 


$vm = Get-AzureRmVM -ResourceGroupName <resourceGroup> -VMName <vmName> $vm.HardwareProfile

... Read More

Hi everyone,


it took me quite some time to find a way to get the VNet an ARM VM belongs to by using PowerShell. I don't think this is the perfect solution, but I would like to share it in order someone else needs to find out. I would be interested in bett

... Read More
4 Replies

Not really innovating, just bringing it down to a single line:

$vnetName = Get-AzureRmVirtualNetwork | % {if($_.Subnets.IpConfigurations.Id.StartsWith($vm.NetworkProfile.N
... Read More



Funny, that it isnt straight forward to get the vNet!


I tried to do it using another method, but in the end I am not sure it is better than yours. :)


$RG = "Hybrid
... Read More
I think it should work without the for loop as well. I will have a try tomorrow.
Check out the latest version on the one and only free OMS book - Inside the Microsoft Operations Management Suite https://gallery.technet.microsoft.com/Inside-the-Operations-2928e342 Read More
0 Reply

The Automation and DSC Community is a place we've built for all of you. You can learn more about automation and DSC, discuss your work, and connect with the experts that build and use the product. Get your questions answered, give us feedback or make your

... Read More
0 Reply

Microsoft Azure Automation provides a way for users to automate the manual, long-running, error-prone, and frequently repeated tasks that are commonly performed in a cloud and enterprise environment. It saves time and increases the reliability of regular

... Read More
0 Reply

Log Analytics is a service in Operations Management Suite (OMS) that helps you collect and analyze data generated by resources in your cloud and on-premises environments. It gives you real-time insights using integrated search and custom dashboards to rea

... Read More
1 Reply

In addition to the great post from Lana, check out this Microsoft Webinar on OMS Log Analytics:





Read More

Deliver the service agility and protection your business demands by increasing your ability to solve problems faster and to recognize threats early, using simple, yet powerful log analytics.


With the increasing complexity of IT environments, it’s becomi

... Read More
0 Reply