Find Jobs
Hire Freelancers

Powershell scripting and Task Scheduler Wizardry

$100-200 USD

Completed
Posted almost 6 years ago

$100-200 USD

Paid on delivery
Environment: - OS: Windows Server 2016, AD domain joined. - Software: Intel Fortran Compiler run from the command prompt (no expertise required) Skills required: - Active Directory, Powershell scripting, ScheduledTasks, Windows Task Scheduler, Powershell remote sessions Desired User Operation: 1. Multiple domain users will connect to the server using a Powershell remote session and their domain credentials. 2. The script will need to use the user’s current working directory as a variable. If this is not possible, then the current working directory will somehow need to be passed to the script as a variable. Either one of the following methods is acceptable: a) From the prompt, user changes path to the drive and folder where the control file exists and an output file will be generated. Automatically determine the current drive/folder path and pass it as a parameter to the script. This is preferred. b) Alternatively, have the user pass the drive and folder path as a parameter (eg. X:\Projects\RunFolderName) 3. User will enter command (the new script) with several parameters. For example (Note: the number 4 refers to an optional numeric parameter): NewScriptName [login to view URL] [login to view URL] 4 Current state of project: I’ve created a scheduled task, which works if I manually execute it. The problem is that the parameters are hard-coded. Here is the task’s configuration: - General Tab: o Location is a sub-folder (TestSched). o When running the task, use the following user account: (a domain user account is specified) o Run whether user is logged on or not is selected o Run with highest privileges is selected (may not be needed) - Triggers Tab: o Trigger: “When the task is created or modified” - Actions: o Action: Start a program o Program/script: C:\Windows\System32\[login to view URL] o Add arguments: /E:ON /V:ON /K “C:\user\username\[login to view URL] (see [login to view URL] contents below) - Settings: o If the task is already running, then the following rule applies: Queue a new instance Contents of [login to view URL] (will be needed to flesh out the new script): REM batch file needed to set up the compiler environment, which must be preserved forward: call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.1.156\windows\bin\[login to view URL]" intel64 vs2015 REM change directory to the location of the control file and output file (Note: need to either automatically use the user’s current directory, or have the user enter the working drive/folder path as a parameter): cd /d P:\Projects\Client\ABCcorp\runfolder REM execute my compiler software with the parameters passed from the user (Note: the number 4 is an optional, numeric parameter): C:\mysoftware\mycompiler [login to view URL] [login to view URL] 4 Script Requirements: Mechanism must be robust enough so that several users can stack multiple scheduled tasks into the queue. A powershell script (preferable) or batch file needs to be written that can pass parameters to, and run a set of commands in, a Windows scheduled task. Greatly prefer to use ScheduledTasks (not the older Schtasks). [login to view URL] The script will: - accept parameters from the user - create a new task or update an existing task (eg. New-ScheduledTask or SetScheduledTask). Use a separate task for each user, if necessary - trigger the task to run immediately, or queue the task if already running Notes: - When task is created in task scheduler, it asks for credentials, user can be prompted for their domain user/password if needed. - If user password is passed as a parameter, use SecureString to avoid exposing sensitive info. - If helpful, I’m willing to set up a predefined task, or a task for each user, that can be controlled by the script.
Project ID: 17165788

About the project

6 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I can help with you in your project Powershell scripting and Task Scheduler Wizardry document. I have more than 5 years of experience in Microsoft, Powershell, Shell Script, Software Architecture, Windows Server. We have worked on several similar projects before! We have worked on 300+ Projects. Please check the profile reviews. I can deliver your job with in your deadline. Please ping me for more discussion. I can assure the 100% job satisfaction. Thanks,
$250 USD in 5 days
4.8 (40 reviews)
6.0
6.0
6 freelancers are bidding on average $175 USD for this job
User Avatar
Hi, Dear Employer! I am really interested in your project. I have enough experience in PowerShell, C/C++, C#, java programming. I am 100% sure I can satisfy your requirements perfectly. Clear Algorithm Will Encourage Your Project. I want a long-term relationship with you. Thank you and best regards!
$200 USD in 10 days
4.8 (79 reviews)
7.4
7.4
User Avatar
Hello, I read your whole proposal, and thanks for your post on my good experience. This is very good job for me. I have rich experience in Windwos desktop using C#,PowerShell, VB.NET, C++, java, Python, Qt5 So I think I can do this in high quality. I want to further discuss with you. I look forward to working together in partnership on your project and into the future. Regards
$166 USD in 10 days
5.0 (21 reviews)
5.9
5.9
User Avatar
Hello, Dear. How are you? I have experience in developing C++, Java, Python developer with 7+ years. I can complete your project perfectly because I have experience in that filed. I will work for you all my best. Thank you in advance for your time and consideration. I look forward to working with you soon. - Desktop Application: C/C++/C#, Java/JavaFX, ASP.NET, Python, OpenCV, OCR, OpenGL. - Other Application: Algorithm, PowerShell, Mathematics.
$166 USD in 10 days
4.9 (16 reviews)
5.5
5.5

About the client

Flag of UNITED STATES
Brighton, United States
5.0
1
Payment method verified
Member since Jun 14, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.