A collection of PowerShell scripts and modules that automate various tasks in enterprise environments where installing third-party applications requires permissions.
A utility that allows you to type text into any window programmatically. Useful for:
- Auto-typing long text during Microsoft Teams meetings
- Automated form filling during testing
- Any scenario where you need to input text into another window
- Select target window from a dropdown list
- Refresh window list on demand
- Type any text into the selected window
- Simple and intuitive GUI interface
iex (iwr https://raw.githubusercontent.com/almahdi/powershell/refs/heads/main/type-in-window.ps1).Content
- Run the script:
.\type-in-window.ps1
- Select the target window from the dropdown
- Enter the text you want to type
- Click "Type Text in Selected Window"
A utility that prevents your computer from going to sleep by simulating a key press (SCROLLLOCK) every 30 seconds. Useful for:
- Keeping your computer awake during long downloads
- Preventing sleep during remote sessions
- Maintaining presence status in communication apps
- Any scenario where system sleep is undesirable
- Zero configuration required
- Lightweight and resource-friendly
- Uses built-in Windows features
- No administrative privileges needed
iex (iwr https://raw.githubusercontent.com/almahdi/powershell/refs/heads/main/dont-sleep.ps1).Content
- Run the script:
.\dont-sleep.ps1
- The script will start running in the background
- To stop the script, close the PowerShell window
- Windows OS
- PowerShell 5.1 or higher
Created and maintained by Ali Almahdi
Licensed under GNU AGPL-3.0 with Commons Clause License Condition v1.0. For commercial licensing inquiries, please visit https://www.ali.ac/contact
Feel free to submit issues and pull requests for improvements or new scripts.