Announcement

Collapse
No announcement yet.

NET Group Command

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • NET Group Command

    Hi guys I am using net group command to retrive all users from a global group.
    Problem is the group name has '&' (ABC_File_FR&A) character, because of this command error out.
    Any ideas, how do I get the list of users from a group that has charater like '&'

    thanks in advance

  • #2
    Re: NET Group Command

    Give this a try from a cmd prompt:

    dsquery group domainroot -name "ABC_File_FR&A" | dsget group -members

    This will query the domain for a group (Security or Distribution) named "ABC_File_FR&A" and get a list of all the members.

    Hope this is what your after

    Michael
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment


    • #3
      Re: NET Group Command

      Coooool.
      The group name should be in double quotes. So the command should be:
      net group "some&thing"
      Good luck.

      Sorin Solomon


      In order to succeed, your desire for success should be greater than your fear of failure.
      -

      Comment


      • #4
        Re: NET Group Command

        Thanks guys
        worked

        Comment

        Working...
        X