How to create multiple accounts with powershell script
when you’re creating user accounts with active directory(GUI), you have to right click so many times and its time consuming.but with this script you can easily create multiple accounts continuously.This is also possible with importing scv also but if its only 10 or 20 accounts its easier to use this PowerShell script.This PowerShell can be run with the server or desktop(Windows 7) which has install rsat(Remote server administration tool) or domain controller(Windows 2008 R2)
1.Open the Active Directory PowerShell module from administrative tools
Continue reading “Manage Active Directory With PowerShell”
Windows 2008/2008 R2 server core initial configuration
Windows 2008 R2 has its own tool for do the initial configuration of the server core, but previous version of the Windows 2008R2(Windows 2008) all the initial configuration also cmd based.
Get the computer name type hostname name and press enter
Rename computer- type netdom renamecomputer WIN-1MKA1D339E9 /newname EAGLE
WIN-1MKA1D339E9 IS A PREVIOUS NAME AND EAGLE IS A YOUR COMPUTER NAME
Press y and press enter
For restart the computer type shutdown –r –t 00
IP Address configuration for the server core (Add ip address dns server and gateway)
Type netsh(Network shell) and press enter
Type int ipv4 and press enter
Type add address “local area connection” 192.168.1.100 255.255.255.0 (“local area connection” is a name of a local area connection. This can be find from typing ipconfig /all command)
For adding gateway type add address “local area connection” gateway=192.168.1.1 gwmetric-1
For adding dnsserver type add dnsserver “local area connection” 184.108.40.206(220.127.116.11 is a google dns server you can add your own server)
For Enable remote desktop(cscript c:\windows\system32\scregedit.wsf /ar 0
Activate server using cmd (slmgr.vbs /dli) this gives the current license details of the server
Now type slmgr.vbs /ato(This will automatically activate your server for 180 days(Trial Period).Make sure that your server is connected with the internet)
Welcome to WordPress.com. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin dashboard) to start a fresh post.
Here are some suggestions for your first post.
- You can find new ideas for what to blog about by reading the Daily Post.
- Add PressThis to your browser. It creates a new blog post for you about any interesting page you read on the web.
- Make some changes to this page, and then hit preview on the right. You can always preview any post or edit it before you share it to the world.