cmatrix
1.0.0
通过PowerShell
对Windows的矩阵效果
打开Windows Powershell
(在某些情况下可能需要管理特权)
下载并保存cmatrix.psm1或仅使用git clone https://github.com/matriex/cmatrix
使用clonethis repo
导入模块,设置超时并启用它:
Set-Executionpolicy remotesigned
Import-Module .cmatrix
Set-ScreenSaverTimeout - Seconds 5
Enable-ScreenSaver
如果您对此感到满意,那么您也可以将其放在一个可以通过$env:PSModulePath
获取的模块文件夹中。只需创建一个名为cmatrix
的文件夹,然后将cmatrix.psm1
放入其中,然后下次您可以将其作为Import-Module cmatrix
导入而无需指定完整的路径即可。
作者:Oisin Grehan
撰稿人:Christoph Bergmeister