Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7673611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:33:09+00:00 2026-05-31T16:33:09+00:00

I have developed a Powershell script that needs to be run automatically daily. This

  • 0

I have developed a Powershell script that needs to be run automatically daily. This was developed on a PC of mine that has Powershell. I could setup a schedule on my PC to execute it, but that’s not a good idea (if the PC is left turned off etc).

There are a number of Windows Servers available I could use. But I don’t have access to install anything on them and if none of them have Powershell installed, how do I accomplish this? Can Windows somehow execute Powershell (.ps1) scripts without Powershell installed?

I would also prefer the script to be uneditable after the automation is in place.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:33:10+00:00Added an answer on May 31, 2026 at 4:33 pm

    Probably your best bet would be to use portable powershell on the server directly (http://site.shelltools.net/Applications/Portable_PowerShell)
    It basically gives you a stand-alone powershell exe without having to actually install PowerShell.

    As for making it uneditable, you are mostly restricted to using NTFS permissions. Another option to do what you want might be here: http://powershell.com/cs/forums/p/5493/8863.aspx although I’ve never used either of these tools myself.

    Another alternative is to use a batch file and the psexec utility to call the powershell script on the remote host. You could set a scheduled task on the Windows Server like this:

    @echo off
    setlocal
    
    :: Change HOST to your workstation's IP/DNS hostname
    HOST=127.0.0.1
    :: Make this your workstation's MAC
    MAC=00-00-00-11-22-33
    :: Make this the number of seconds it takes your host to boot
    BOOTTIME=60
    
    ping %HOST%
    if ERRORLEVEL 0 (
        REM Ping successful, host is up
        GOTO RUNCMD 
    ) else (
        :: Ping not successful, wake up host using mc-wol from matcode.com.  Server must be in same subnet
        mc-wol.exe %MAC%
        choice /T %BOOTTIME% /D y >NUL
        GOTO RUNCMD
    )
    
    :RUNCMD
        psexec \\%HOST% {cmd options to run remote powershell}
    
    endlocal
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a script for checking that user has selected a valid month
I have developed a VB.NET WCF service that recives and sends back data. When
We have developed a website that uses MVC, C#, and jQuery. In one of
We have developed a webservice that sits and runs in the context of a
I have developed a framework that is used by several teams in our organisation.
I have developed a couple of extensions for Firefox, and am annoyed that it
I have developed a web application that uses the jQuery DateTimePicker by Trent Richardson
I have developed a sample WCF REST service that accepts that creates an Order
I have developed a grails application that stores a great deal of information. Currently,
I have developed a server control inherited from WebControl that wraps any number of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.