Windows 10: Powershell - Local group creation

Discus and support Powershell - Local group creation in AntiVirus, Firewalls and System Security to solve the problem; Hello, On a win10 pro machine, I´m trying to create multi local groups in same time with PowerShell. I´ve tried this command: New-LocalGroup -name... Discussion in 'AntiVirus, Firewalls and System Security' started by Fred0NB, Sep 24, 2020.

  1. Fred0NB Win User

    Powershell - Local group creation


    Hello,


    On a win10 pro machine, I´m trying to create multi local groups in same time with PowerShell.


    I´ve tried this command: New-LocalGroup -name "group1","group2","group3"

    but this method is not supported and in the doc I don´t find any explications on how to do it in 1 line.


    Please could you guide me a bite ?


    Thanks

    Fred


    Bonjour,


    Sur une machine avec win10 pro, j´essaie de créer plusieurs groupes en même temps sous PowerShell.


    La commande New-LocalGroup -name "group1","group2","group3" ne fonctionne pas car la methode n´est pas prise en compte.

    Je n´ai rien trouvé sur la doc.


    Avez-vous une idée pour me guider dans la bonne direction?


    Merci

    Fred

    :)
     
    Fred0NB, Sep 24, 2020
    #1
  2. Brink Win User

    Show Local users and Groups


    Hello Frank, and welcome to Ten Forums. Powershell - Local group creation :)

    If you have the Windows 10 Home edition, then it will not have Local Users and Groups (lusrmgr.msc) included in it. It's only available in the Pro and Enterprise editions instead.

    If you like, you could use step 3 in OPTION THREE of the tutorial below list users in a group.

    https://www.tenforums.com/tutorials/6...a.html#option4
     
    Brink, Sep 24, 2020
    #2
  3. Local account installation question


    I'm fairly certain that Skip this step was available in 10.0.130 - the workaround in Step 20 (back button) is no longer required.

    The currently known, as of 10.0.130, ways to create a Local account sign-in are
    • Skip this step at the MS account creation phase
    • No Internet connection during the install
    • static IP (post# 2 by Fragment) - New (to me anyway)
     
    Slartybart, Sep 24, 2020
    #3
  4. hooked Win User

    Powershell - Local group creation

    Show Local users and Groups


    Hey Brink, I was just looking at groups in netplwiz today and I noticed that my user account is just in the Admin group now, it used to be in Users and Admin. I have home, so I can't change it. I don't know how it changed. I guess there's nothing I can do about it. Will it be a problem?
    I'm tempted to downgrade to my 8.1 pro and go to 10 pro.
     
    hooked, Sep 24, 2020
    #4
Thema:

Powershell - Local group creation

Loading...
  1. Powershell - Local group creation - Similar Threads - Powershell Local group

  2. Local groups not visible in Local Users and Groups MMC.

    in Windows 10 Gaming
    Local groups not visible in Local Users and Groups MMC.: I tried to remove one built in account from SAM database in Windows Server 2022. After that, the built in account got removed, but in local users and groups mmc, I am not able to see local groups. However, all local groups are present. I am able to see the local users, but...
  3. Local groups not visible in Local Users and Groups MMC.

    in Windows 10 Software and Apps
    Local groups not visible in Local Users and Groups MMC.: I tried to remove one built in account from SAM database in Windows Server 2022. After that, the built in account got removed, but in local users and groups mmc, I am not able to see local groups. However, all local groups are present. I am able to see the local users, but...
  4. Local Administrators Group

    in Windows 10 Software and Apps
    Local Administrators Group: Hi All,I have maybe a idiot question but I'm trying to get which administrator account is responsible to adding another account into the local administrators group.I tried to filtered the information on the event log ID ID 4728, 4732, 4746, 4751, 4756, 4761 but I don't find...
  5. Read local group policy using PowerShell commands

    in Windows 10 Gaming
    Read local group policy using PowerShell commands: I am unable to get Gpresult of local group policy using powershell I need help on this to get local the local gpo's on windows sever 2022. https://answers.microsoft.com/en-us/windows/forum/all/read-local-group-policy-using-powershell-commands/e3477740-5db5-44f9-986b-e599f2e7eedc
  6. Read local group policy using PowerShell commands

    in Windows 10 Software and Apps
    Read local group policy using PowerShell commands: I am unable to get Gpresult of local group policy using powershell I need help on this to get local the local gpo's on windows sever 2022. https://answers.microsoft.com/en-us/windows/forum/all/read-local-group-policy-using-powershell-commands/e3477740-5db5-44f9-986b-e599f2e7eedc
  7. How to add Local and Microsoft accounts to Administrators Group using PowerShell

    in Windows 10 News
    How to add Local and Microsoft accounts to Administrators Group using PowerShell: [ATTACH]If you want to add or remove Local and Microsoft accounts to the Administrators group in Windows 11 or Windows 10, you can do so with the help of Windows PowerShell. Here is the detailed guide you need to follow in order to get it done. There are multiple user account...
  8. How to nest local group with another local group in windows ?

    in Windows 10 Customization
    How to nest local group with another local group in windows ?: How to nest local group with another local group in windows ? Is there any way to achieve this via Powershell command? Is there msdn page is available ? Thanks in advance...
  9. Windows 10 - Local Group Policy (PowerShell)

    in Windows 10 Ask Insider
    Windows 10 - Local Group Policy (PowerShell): I been looking online and I cant find much on how to automate local group policies for a stand-alone workstation. Not connected to a domain controller or active directory. I wanted to use powershell to do this. Anyone got an idea or point me in the right direction to...
  10. How to manage Local Users and Groups using Windows PowerShell

    in Windows 10 News
    How to manage Local Users and Groups using Windows PowerShell: [ATTACH] [ATTACH]Windows PowerShell can also be used to manage Local Users and Groups. This affirms to the principle of Windows 10 being a multiuser operating system. There are other GUI based utilities to manage Local Users and Groups. But some System [...] This post How to...