Scripting To Run a File At Startup In Powershell

Discussion in 'Webmastering & Programming' started by SOAREVERSOR, Jan 10, 2018.

  1. SOAREVERSOR

    SOAREVERSOR [H]Lite

    Messages:
    103
    Joined:
    Apr 10, 2017
    Looking to do a pretty basic script that does the following:

    1. Looks at a specific folder on a specific drive and gets a file.
    2. Copies said file to the documents folder.
    3. Runs that file.

    Specifically I'm looking to copy a PowerPoint presentation over and have it start. The goal is so I can dump a daily presentation onto a share at night, have a bunch of content players get the file, copy it local, and then run it. I'm going to dump the script in startup so this kicks off after reboots as well.
     
  2. Doward

    Doward [H]ard|Gawd

    Messages:
    1,539
    Joined:
    Jul 3, 2004
    What's your question?
     
  3. Mr. Baz

    Mr. Baz 2[H]4U

    Messages:
    2,781
    Joined:
    Aug 17, 2001
    Windows Task Scheduler set to run powershell script at logon/boot/whatever?
     
  4. ng4ever

    ng4ever Flaccid 4Evar

    Messages:
    802
    Joined:
    Feb 18, 2016
    You must be the same user at anandtech.