This is a free-to-use repository containing various automations for technology personnel (DevOps, DBA, Cybersecurity, or Network/Information Technology).
File Name | Latest Commit | Link |
---|---|---|
ScriptMoving.ps1 |
Script to detect the Disk Space and Move Items to another Disk to minimize the risk of full disk |
ScriptMoving.ps1 |
To use the PowerShell scripts in this repository, follow these steps:
-
Download the script: Download the desired
.ps1
file from the repository to your local machine. You can do this by clicking on the file and then clicking the "Raw" button, followed by saving the page. Or you can clone the repository usinggit clone
. -
Open PowerShell: Open PowerShell as an administrator. You can do this by searching for "PowerShell" in the Start Menu, right-clicking on it, and selecting "Run as administrator".
-
Navigate to the script's directory: Use the
cd
command to navigate to the directory where you saved the.ps1
file. For example:cd C:\Users\YourUser\Downloads
. -
Set the Execution Policy (if needed): PowerShell has an execution policy that restricts running scripts. If you get an error about execution policy, you need to set it. For testing purposes, you can use the following command (use with caution in production environments):
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
This command sets the execution policy to
Unrestricted
for the current PowerShell session only. A more secure approach for production environments would be to useRemoteSigned
. -
Run the script: Execute the script using the following command:
.\script_name.ps1
Replace
script_name.ps1
with the actual name of the script you downloaded.
You can contribute to this repository in several ways:
- Star the repository: Show your support by giving it a star! ⭐
- Buy me a coffee: If you find this repository helpful, you can buy me a coffee! ☕ (Aquí puedes poner un link a una plataforma como Buy Me a Coffee o Ko-fi)
- Support via Ad.fly: Support the project by clicking on the Ad.fly link below! (Aquí debes poner el link de Ad.fly)
MIT License
Copyright (c) [Año] [Tu Nombre o Nombre de la Organización]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.