Powershell script

Completed Posted 4 years ago Paid on delivery
Completed Paid on delivery

Write a PowerShell script to be run when users login to a Windows Active Directory using Group Policy

What I need is:

If the folder \\ww-fs01\D$\Profiles\%username%.V6\ does not exist

Then

Display a message box to the user logging in that states: “Please wait while your user profile is being created. This will take a minute. Once completed you will automatically be logged off. You can then log back in. Press OK to continue”. The message box title should display “Message from Myles”

The user selects OK. There is no option to cancel or end.

A timer runs and after 60 seconds the user is logged out with the command shutdown -l

A progress bar should display on the screen during this time so the user knows that something is happening

Else

If the folder “chrome” does not existing in the path \\ww-fs01\D$\Profiles\%username%.V6\AppData\Roaming\

Then

Display a message box to the user logging in that states: “Your user profile is being migrated to a new server, this may take a few minutes. Please wait for this to complete. If you have any concerns please contact Myles. Press OK to commence the file copy”. The message box title should display “Message from Myles”

The user selects OK on the message box. There is no option to cancel or end. The message box disappears and the file copy commences - use Robocopy or Xcopy

A progress bar displays on the screen in percentage of the file copy process

Copy \\ww-fs01\D$\Profiles\%username%.V2\AppData\Roaming\* to \\ww-fs01\D$\Profiles\%username%.V6\AppData\Roaming\* including all folders and files.

Once the copy completes a message box displays: “Your user profile has been copied. Press OK to log off. Please wait for the log off to complete then you can log on and commence work. If you have any concerns please contact Myles”. The message box title should display “Message from Myles”

When the user select OK on the message box the command shutdown -l is run and the user is logged off. There is no option to cancel or end.

Else

end

Powershell Script Install Shell Script Software Architecture

Project ID: #19284158

About the project

1 proposal Remote project Active 4 years ago

Awarded to:

goodwork20k

I am good in powershell, please let me know if you are good to award this project to me I will delivery the code EOD today

$55 AUD in 1 day
(4 Reviews)
2.6