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 […]
In this article we see how to configure the Windows Time service and troubleshoot when the Windows Time service is not working correctly. To check the PDC Server for Time Synchronization and to configure the PDC master server by using an internal hardware clock, follow these below steps: Open Registry on the PDC Role holder domain controller, […]
In my Previous AD Powershell Post, I have showed how to generate AD Computers report with specific Paramenters, Wherein the LastLogonDate attribute value format will not be in the same format if your AD Infrastructure is not configured with specific time format. Below output report is an example,You will see the report date values are has […]
In this article, we see about Trust relationship between two domains in Server 2016. So, first we link both two domains in active directory and trust and Domain A and Domain B have administrators Rights. They can easily create One-way and Two Way Trust relationship.Before proceeding, you need to ensure that the networks/forest on both […]
In this PowerhShell command, we will see how to get installed programs in the computer installed programs information can be fetched using the WMI_Object using the Class: Win32_Product. it is very straight forward to get the installed applications. Run the command: Get-WmiObject -Class Win32_Product -Computer COmputername it will get all the installed applications in the Computer. […]
In this command, we will see how to get all the computers in the domain using the PowerShell Command. Use the below command to get the Complete Computers Reports.where the command has been enabled with filters where the required details to audit the Domain Joined Machine computers. Get-AdComputer -Resultsetsize 100000 -Filter * –Properties CanonicalName,DNSHostName,Enabled,IPv4Address,lastLogon,LastLogonDate,lastLogonTimestamp,Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion,whenCreated | […]
In this article, we will see how to modify the DNSSettings using PowerShell. it will help for the core server modifications as well. To get the Existing DNS Settings run the below command, Get-DnsClientServerAddress To modify the DNS Settings, use the below command, Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses (“10.99.3.50″,”10.1.13.178”) Note: Need to get Interface Index for […]
In this article, we see about DNS suffix search. Domain name, such as “www.windowstechpro.com.”. With this setting enabled, when a user submits a query for a single-label name, such as “example”, a local. DNS client attaches a suffix, such as “windowstechpro.com”, resulting in the query “www.windowstechpro.com”, before. sending the query to a DNS server. First […]
Faced different issue today in ADFS Certificate replacement, in the previous Article, We have seen how to install and bind the certificate for ADFS and in another Article explianed how to bind certificate and configure ADFS Proxy servers. Followed same procedure and replaced certificates for the ADFS Infrastructure. wherein the ADFS Console has new certificates, when […]
In the System Events On the ADFS Servers, Noticed Events with description An Error Occured while uisng SSL COnfiguration for End Point 0.0.0.0:443, the error status code contained with the returned data followed with Event ID: 15021. When try to browse the ADFS idpinitiatedsignon page, it is getting failed. Normally, this issue occurs if the certificate renewal or […]