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. Not able to modify Local Group Policy with powershell commands

    in Windows 10 Gaming
    Not able to modify Local Group Policy with powershell commands: Hi,I'm trying to modify Local Group Policy on my windows machine using PowerShell commands but not able to do so in both windows 10 and windows server 2022.As an example, I set the automatic update as below in gpedit: Running PowerShell as Administrator, I am able to view the...
  3. Not able to modify Local Group Policy with powershell commands

    in Windows 10 Software and Apps
    Not able to modify Local Group Policy with powershell commands: Hi,I'm trying to modify Local Group Policy on my windows machine using PowerShell commands but not able to do so in both windows 10 and windows server 2022.As an example, I set the automatic update as below in gpedit: Running PowerShell as Administrator, I am able to view the...
  4. Not able to modify Local Group Policy with powershell commands

    in Windows 10 Customization
    Not able to modify Local Group Policy with powershell commands: Hi,I'm trying to modify Local Group Policy on my windows machine using PowerShell commands but not able to do so in both windows 10 and windows server 2022.As an example, I set the automatic update as below in gpedit: Running PowerShell as Administrator, I am able to view the...
  5. 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...
  6. 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...
  7. 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
  8. 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
  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...