Tech Wizard

Lets do IT Spells

Menu

Skip to content
  • Home
  • Cloud
  • Exchange
  • Scripting
  • Active Directory
  • Teams
  • SharePoint
  • SystemAdmin
  • Downloads
  • Modules
  • About me

Tag Archives: ADD member

PowerShell TIP – Add members to a group in different domain

I was working on automating few Active directory groups using powershell, I encountered a issue where my scripting solution was running in one domain but the group resides in another domain. Below powershell command was resulting in error as by default AD module searches on the domain from which it is running. Add-ADGroupMember -identity “groupName”…

November 22, 2018 in Active Directory, Scripting.

PowerShell Fast Track

Advertisements

Learn Microsoft 365

Learn Microsoft Azure

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2,205 other subscribers
Follow Tech Wizard on WordPress.com

Follow on Facebook

Follow on Twitter

Archives

Login

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Advertisements
Website Powered by WordPress.com.
  • Follow Following
    • Tech Wizard
    • Join 241 other followers
    • Already have a WordPress.com account? Log in now.
    • Tech Wizard
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...