Jump to content


TomBlack

New Members
  • Posts

    1
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by TomBlack

  1. Hello, Your script is awesome and will save us a lot of works for our migration. Thanks a lot for sharing it with us. I had to modify something to get it work. When OS language is different from english, the administrators group isn't the same so instead of using an hardcoded group name I got it with the sid which is always the same $AdminGroup=(get-wmiobject win32_group -Filter "SID='S-1-5-32-544'" | Select Name) Add-LocalGroupMember -Group $AdminGroup -Member $UserName}
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.