• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Python Support and File Transfer on ControlUp

Posted on February 11, 2024

One user asked if Python will be added to the windows script list on ControlUp. Another user suggested using Powershell to call the Python script. A third user mentioned using Invoke-Webrequest or copying the script itself in the script window for file transfer. Another user suggested using a PS1 script that encapsulates the python script and checking if python is installed, and installing it if necessary. They also mentioned hurdles with file transfer and suggested a feature request for blob storage. Overall, Python support on ControlUp is not currently on the roadmap.


Read the entire ‘Python Support and File Transfer on ControlUp’ thread below:

Good day

Will python be added to the windows script list ?

If not has anyone done something cool to get a python script working and report back ?


@member Might be able to answer this

I would call the pyhton script from Powershell

From our friend CHatGPT:

“`# Path to your Python executable

$pythonExecutable = "C:\Path\To\Your\Python\python.exe"

Path to your Python script

$pythonScript = "C:\Path\To\Your\Python\HelloWorld.py"

Check if Python executable exists

if (Test-Path $pythonExecutable -PathType Leaf) {

# Run Python script

& $pythonExecutable $pythonScript

} else {

Write-Host "Error: Python executable not found at $pythonExecutable"

}“`


i want to upload a python script to EDGE DX

if i do use this method from ChatGPT how do i get the scrupt on the device ?

i can do a file transfer if it was one or 2 devices , but when it comes to a few 100 then file transfer is not going to help


You could use Invoke-Webrequest to download a file from a website (dropbox/onedrive) where your machines have access to. Or copy the script itself in the script window.

How big is this py script?


@member I have hardcoded an XML file in the past inside the PS1 script and then had the XML file recreated client side.

Additionally you could check for python to be installed, and if it is not download and install it. Same effort to ensure whatever env var you may need. This would only be needed on the very first running, the second time around the software and env would be setup…. The end result would be that you could going forward just have a PS1 that encapsulates the python script and call it. Consume the return and report it back if you like.

Hope that helps and makes sence.


I would doubt it tbh as it’s pretty rare to see python installed in Windows

For file transfer you need to have an active edge dx window as their needs to be an active remote control windows. This will not be anabled to do using an api key.


We currently have some hurdles we jump around this with. Is ther a feature request for offering some blob storage? Either hosted in the CU space or the ability to have CU do the auth to a 3rd party storage, and allow files to be moved to and from endpoints using API would be awesome.


not on the roadmap afaik, the file transfer is mainly used to transfer log files etc and not for software mgmt

Continue reading and comment on the thread ‘Python Support and File Transfer on ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: Logs, Microsoft Windows, Physical Desktops, PowerShell, Reporting, Scripts, Storage

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..