• Hi Milada,

    In your case, you only need to open PowerShell.  For simplicity in the article, I put the PowerShell prompt as “C:” (which you *can* get to by typing the command below:

    cd C:

    But this will work regardless of your location on the computer.  You could be in C:Users<username>Desktop or you could be in C:windowssystem32 and it would all work.


  • Amazon Web Services (AWS) gives us a handy service to manage users, in the form of AWS Identity and Access Management (IAM). In this article, we’ll cover how to create a group, how to create a user to place inside of the group, then how to add a newly created policy to manage permissions to that group.

  • Bryce McDonald liked comment of Alex Ø. T. Hansen on Read nested Active Directory groups in PowerShell. (So far, Alex Ø. T. Hansen has 1 likes for this comment.) 3 years, 10 months ago

  • Very nice!  Would you mind sharing your function, or is it published on GitHub or other version control system?

    In my experience, the -recursive method hasn’t failed.  Could you describe an instance where it had?  I’d like to be able to account for failures, but I wasn’t aware that this was an iffy parameter.


  • Bryce McDonald liked comment of Alex Ø. T. Hansen on Read nested Active Directory groups in PowerShell. (So far, Alex Ø. T. Hansen has 1 likes for this comment.) 3 years, 11 months ago

  • You are getting this error because there are multiple groups returned from the “Get-ADGroup” cmdlet on line 6.  You can fix this by placing a “ForEach-Object” after the pipe, so line 6 will end up looking like this:

     Groups = ($_.memberof | Get-ADGroup | ForEach-Object (Select-Object -ExpandProperty Name) -join “,”)

    Note: I also made the final character a close parenthesis “)” rather than a bracket “}”.  I think this might have been an error in uploading the article to the site, sorry about that!

  • Bryce McDonald liked comment of Jim Lovejoy on Read nested Active Directory groups in PowerShell. (So far, Jim Lovejoy has 1 likes for this comment.) 3 years, 11 months ago

  • A few pitfalls exist if you try to read the members of nested Active Directory groups with the PowerShell cmdlet Get-ADGroupMember and the -recursive parameter.

  • As an FYI, version 1 of the BitBucket API is being deprecated at the end of this month.  Has your org already switched to using version 2 of the API?  It could be because of that.  If I remember correctly, version 2 needs an OAUTH token for the $credentials parameter, rather than something that Get-Credential would return.

  • Outlook instability on Macs has always been a problem imo.  What was most frustrating were the old iOS calendar bugs where if you accepted a meeting from iOS it would spam the entire attendee list with a whole bunch of “meeting accepted” emails.  The issue was more topical than anything, but it was a big annoyance to say the least.  Unfortunately, there are few systems that are as robust as Exchange at an enterprise level.  Yes, there’s Lotus Notes and Domino servers, but they’re riddled with just as many bugs as Exchange except there’s 1/10th the number of articles out there to help administrators.  The other option would be to change your enterprise to GSuite, but the administrative options there to either left-click and manually enter everything, or interact with complicated API’s.

    You mentioned better solutions than Outlook for Mac – do these solutions still support Exchange?

  • Amazon’s CloudWatch is a powerful Amazon Web Services (AWS) feature that monitors deployed systems and can respond with alerts or even react by calling another AWS service. CloudWatch alarm creation typically occurs via the AWS Management Console, but today I’m going to show you how to configure an alarm with PowerShell.

  • Bryce McDonald posted a new activity comment 3 years, 11 months ago

    I’m interested to see how this works. I know that MS has been doing great things with the open source community, and I think the GitHub acquisition will only bolster that.

    • We will see in the next months what is the Microsoft approach to this open source repository, now some evelopers are moving to different platform like GitLab.

    • It is true that MS is doing great things in open source community. However, this move now opens the door for a second big development platform. Not every MS competitor will feel comfortable to contribute to Microsoft’s platform and there are still many hardcore open source advocates who believe that any company who sells closed sourced software can’t be trusted. Nevertheless, this is a brilliant move of Nadella, perhaps even better than the acquisition of LinkedIn. If you compare this do Ballmer’s acquisitions… Once more Microsoft is one step ahead of Google and Amazon.

  • Especially in larger international organizations, it often becomes necessary to manage the languages your users have access to via their keyboards. PowerShell allows you to automate this task.

  • Bryce McDonald changed their profile picture 3 years, 12 months ago

  • Bryce McDonald became a registered member 5 years, 2 months ago

© 4sysops 2006 - 2022


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account