This is so not what a neon sign looks like, but I stumbled on the effect on accident and thought it looked cool. So.
Select the text and type whatever you want.
| # Powershell One-Liner that downloads the latest Python-Version for Windows and asks if it should install it right away. It even opens an elevated sessions with admin rights. | |
| if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command `"$url = (Invoke-WebRequest -Uri 'https://www.python.org/downloads/windows/').Content | Select-String -Pattern 'https://www.python.org/ftp/python/\d+\.\d+\.\d+/python-\d+\.\d+\.\d+-amd64\.exe' -AllMatches | % { `$_.Matches[0].Value }; $path = `$env:USERPROFILE\Downloads\ + (`$url -split '/')[-1]; Invoke-WebRequest -Uri `$url -OutFile $path; if ((Read-Host 'Install? (Y/N)') -ieq 'y') { Start-Process -FilePath $path -Wait }`"" -Verb RunAs } else { $url = (Invoke-WebRequest -Uri 'https://www.python.org/downloads/windows/').Content | Select-String -Pattern 'https://www.python.org/ftp/python/\d+ |
| ############################################################################### | |
| # Scoop Installation Script | |
| # Author: Wesley | |
| # Purpose: Automate Scoop setup, bucket registration, and app installation | |
| ############################################################################### | |
| # ------------------------------- | |
| # 1. Configure Execution Policy | |
| # ------------------------------- | |
| # Allow running local scripts for the current user |
| pip install -q -U google-generativeai |
| # Install Scoop App | |
| # scoop alias add i 'scoop install $args[0]' 'Install scoop app' | |
| scoop alias add i 'foreach ($_ in $args) {scoop install $_ -su}' 'Install apps' | |
| # Uninstall Scoop App | |
| scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall a scoop app' | |
| # List Scoop Apps | |
| scoop alias add ls 'scoop list' 'List installed scoop apps' |
| <# | |
| .SYNOPSIS | |
| Scans files or clipboard for URLs with customizable output fields and export capabilities. | |
| .DESCRIPTION | |
| This function parses text for HTTP/HTTPS links. It allows granular control over | |
| which metadata properties (Path, Line, Value, etc.) are included in the final output. | |
| It supports: | |
| 1. Detailed Extraction: Returns specific properties for every match. |
| # Filename: Promptext-Install.ps1 | |
| <# | |
| .SYNOPSIS | |
| Robust installer for the promptext CLI on Windows (PowerShell) using a download-then-run workflow. | |
| .DESCRIPTION | |
| This script installs the promptext CLI by downloading the official installer script directly from the | |
| promptext GitHub repository (via raw.githubusercontent.com) into a temporary file, then executing it. | |
| Why this exists: |
| # Filename: Promptext-Uninstall.ps1 | |
| <# | |
| .SYNOPSIS | |
| Robust uninstaller for the promptext CLI on Windows (PowerShell) using a download-then-run workflow. | |
| .DESCRIPTION | |
| This script uninstalls the promptext CLI by downloading the official installer script from the | |
| promptext GitHub repository (via raw.githubusercontent.com) into a temporary file, then executing it | |
| with the -Uninstall switch. |
Short answer:
Get-ChildItem Env: only shows the standard properties exposed by the first environment variable object.
To see all properties available across all objects, you must enumerate them and inspect their combined property set.
Below are the three best ways, depending on what you want.
| # Promptext Install Commands | |
| ## PowerShell (Windows) — install latest | |
| ```powershell | |
| irm https://raw.githubusercontent.com/1broseidon/promptext/main/scripts/install.ps1 | iex | |
| ``` | |
| ## PowerShell (Windows) — uninstall | |
| ```powershell | |
| irm https://raw.githubusercontent.com/1broseidon/promptext/main/scripts/install.ps1 | iex -Uninstall |