Closed

Powershell or Command prompt code.

I need someone to write me some .bat or ps1 or exe files that can be automatically executed and have these functions.

The files could be separate.. but if they could be combined all in one with a simple UI that would be awesome.

The functionalities required will be listed below, FYI, In order to enter the domain a login is required which doesnt have to have the same credentials as the user that you might be adding.

Here is the list.

1 Change computer name.

Your current computer name is "XXX" please type in the new computer name:

Computer name has been changed would you like to restart you pc. Y/N?

if Y then restart

if N then close the application/file that is executing this script.

2 Enter Domain.

Would you like to enter a Domain or Workgroup. D/W?

if D then

Please specify the domain name:

Domain requires login, please provide your login credentials. (this could be requested in a new window as well, not necessarily within the command line)

Username:

Password:

Welcome to the "XX" domain.

Would you like to restart your machine Y/N

.....

if W then

Please specify the workgroup name:

Work group name changed to xxxx would you like to restart? Y/N?

3 Create User.

Would you like to add a local user or a network user.

if local user then

Please provide the username:

Password:

Would you like to add this user to the administrators group? Y/N

if y... user added to admins.. if N ... exit application

if network user then

Please provide the username of the network user:

(since domain is protected) then ask for domain login: / password:

(remember, when you do this process in windows then there is a button called Check Name, the same thing might need to happen for the system in order to verify that the use exists.)

User XXX has been found and added as a user.

Would you like to give this user administrator privileges? Y/N

..... (same story here)

For now that is all I want.

I might want another project in the future to make this system automated.

Meaning that when the Computer Name is changed then the system restarts and the next prompt shows up automatically for ex... join domain...

Anyways.

All I need is someone to write me some file to execute in windows.

This project could be all combined with a nice UI or these files could be done separately and each one of them has a function.

Contact me for further questions!

Skills: Active Directory

See more: powershell please provide username, powershell command line, please enter your password, i have a story need someone to write, has been changed, group directory, command group, code your, code line, code group, active ui, active network, powershell prompt domain name username login, write powershell script, window powershell, some one or someone, powershell 2, type story, type code, i need someone to write me a story, i need someone to write a story for me, create a simple windows ui application, command, command line application, code name one

About the Employer:
( 3 reviews ) Philadelphia, United States

Project ID: #1265779

4 freelancers are bidding on average $86 for this job

Emalek

See message

$50 USD in 2 days
(0 Reviews)
0.0
gangabass

I can do this for you. See PM for details.

$50 USD in 2 days
(0 Reviews)
0.0
vmalyugin

No problem with PowerShell, but it requires Windows 7 or 2008 R2 for running by default. On other OS you need to install PS. If you choose PS, I'll create this script.

$45 USD in 2 days
(0 Reviews)
0.0
meddabitika

Dear Sir, I am working as a data entry operator since 2005 and I have experience in the updation of various e-commerce website and shopping cart like (amazon, ebay, Interspire shopping cart etc) along with market re More

$200 USD in 30 days
(0 Reviews)
0.0