Showing posts with label group. Show all posts
Showing posts with label group. Show all posts

Monday, 5 September 2016

What is Azure resource group and how to create it PowerShell

What is Azure resource group and how to create it PowerShell

What is Resource group:

  • Before deploying any resources to your subscription, you must create a resource group that will contain the resources.

Create a resource group:

  • To create a resource group, use the New-AzureRmResourceGroup cmdlet.

New-AzureRmResourceGroup -Name CognosApp -Location "West US"

  • Uses the Name parameter to specify a name for the resource group and the Location parameter to specify its location.

Tuesday, 12 April 2016

ADD-ADGroupMember:Powershell Command to ADD users to AD group

Powershell Command to ADD users to AD group

  • Today we will see how to add Active Directory users to Active directory group.
  • To add users to AD group use "ADD-ADGroupMember" command.
Ex: To add 2 users Mark and Kathy to the Security group "WebAdmins" Group

ADD-ADGroupMember WebAdmins Mark,Kathy