Wednesday 30 October 2013

some time system admin need to disable or change the start up type of some important services on windows.If the windows Machines  are less than 10 we can manage but what will be if the count is more than 100?


Set-Service -Name "W32Time" -StartupType "disabled" -ComputerName (Get-Content C:\Computers.txt)

where computers.txt contains list of servers which we need to disable service..

It helps in saving lot of time..


Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress

#Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress # use...