In this article We see about Trust relationship between this workstation and the primary domain failed. For Example, user is trying to login in workstation System. Enter the User Name and password. In database on the server does not Have computer account for workstation trust relationship. Let’s see How to fix the issue in multiple […]
In this Article, we will see how to add user or users or Computer using Powershell. If you want to add users to the specific one Group, you can use the below command.. $domain=”Windowstechpro.com” $Computer = $env:COMPUTERNAME; $ADSIComputer = [ADSI](“WinNT://$Computer,computer”); $SGName = $ADSIComputer.psbase.children.find(‘Administrators’) function Groupmember($number) { $SGName.add(“WinNT://”+$domain+”/”+$number ) } Groupmember “radhakrishnan.govindan” Groupmember “veterivel.Madeshwaran” In the […]