Daily Shaarli

All links of one day in a single page.

December 12, 2023

windows - Running powershell script within python script, how to make python print the powershell output while it is running - Stack Overflow
thumbnail

I am writing a python script which checks various conditions and runs a powershell script accordingly to help me automate migration from windows XP to windows 7. The powershell script gives its own

Executing PowerShell from Python • Jamie Phillips

I have an experiment that I am working on and thought that leveraging Python would be fun. As part of that experiment, I would need to execute PowerShell from Python since only PowerShell cmdlets are available to do what I need. After a little research a week of letting it simmer, I was able to sit down the last night and work it out. Part of it is my unfamiliarity with Python for what I am doing, and the other part is just me not thinking about the problem holistically.

Collection of Python code snippets usefull to deal with admin privilages on Windows · GitHub
Managing “Logon As a Service” Permissions Using Group Policy or PowerShell – TheITBros
thumbnail
More Windows System Information with Python - Mouse Vs Python

Last month I wrote a post about getting Windows system information and I mentioned in one of my comments that there was another script that did some of

Could not find a version that satisfies the requirement X | bobbyhadz

To solve the error "Could not find a version that satisfies the requirement", make sure to install from a requirements.txt file with the -r option.