This repository contains a collection of PowerShell scripts for various administrative tasks, including managing VirtualBox VMs, configuring PS Remoting, setting folder permissions, and more. This scripts and files are examples to work along with the youtube channel Tips for IT Pros
- VirtualBox
- PS Remoting
- Folder Permissions
- SQL Server Build
- Universal Dashboard
- Install OpenSSH
- WMI Explorer
- Windows SSH
Sets up the environment variables and creates a lab network if it does not exist.
Parameters:
virtualboxinstall
(string): Path to the VirtualBox installation directory. Default isC:\PROGRA~1\Oracle\VirtualBox
.VirtualBoxVMDirectory
(string): Path to the directory where VM images are stored. Default isD:\VM
.VirtualBoxISO
(string): Path to the directory where ISO images are stored. Default isC:\iso
.
Imports VM images from disk and registers them with VirtualBox.
Parameters:
path
(string): Path to the VM images you want to import. Optional.
Creates a new VirtualBox VM with the specified parameters.
Parameters:
computername
(string): Name of the VM Guest you are creating.vCPU
(uint): Number of virtual CPUs. Value cannot be negative or higher than 32.RAM
(uint): Amount of RAM in MB. Value cannot be negative or higher than 128.Storage
(uint): Amount of storage in GB. Value cannot be negative or higher than 512 or lower than 20. Default is 20.type
(string): Type of OS. Must be one of the predefined types.iso
(string): Name of the ISO file to use.imageindex
(uint): ISO image number. Default is 1.
Configures PS Remoting over HTTPS, creates a self-signed certificate, and sets up firewall rules.
Sets read-only permissions on a specified folder for a specified user.
Checks and updates SQL Server builds to the latest version.
Configures IIS for Universal Dashboard, including enabling Windows authentication and deploying a test dashboard.
Installs and configures OpenSSH on Windows, including setting up firewall rules and configuring public key authentication.
Provides a GUI for exploring WMI classes and instances.
Configures SSH on Windows Server, including setting up firewall rules and configuring public key authentication.
- Clone the repository.
- Navigate to the script you want to use.
- Run the script in PowerShell with the required parameters.
This project is licensed under the MIT License.