这是我自己制作的一些还说得过去的小脚本. 但至少能简化一点操作.
目前的模块有:
- ConverTo-Base64 - 文本 / 图片 与 Base64 的互转
- Export-SystemVar - 输出系统环境变量
- Get-PortOccupancy - 输出占用端口的应用
- Open-Hosts - 打开 hosts 文件
- WCAG-Contrast - 计算颜色对比度并检查 WCAG 规范
你可以在你的 powershell 终端输入
$profile来查看存放脚本的文件夹
如果没有, 则通常在路径: "C:\Users\[用户]\Documents\WindowsPowerShell\Modules"
Here are some decent little scripts I made myself. But at least it simplifies things a bit.
The current modules are:
- ConverTo-Base64 - Conversion of text / image to Base64
- Export-SystemVar - Outputs system environment variables
- Get-PortOccupancy - Outputs the port-occupying app
- Open-Hosts - Opens the hosts file
- WCAG-Contrast - Calculate color contrast and check WCAG standards
You can enter
$profilein your PowerShell terminal to view the folder where the script is stored
If not, it is usually in the path: "C:\Users\[user]\Documents\WindowsPowerShell\Modules\"