https://github.com/TechDufus/AdminToolkit
Miscellaneous functions and utilities for System Administrators.
https://github.com/TechDufus/AdminToolkit
powershell
Last synced: 5 months ago
JSON representation
Miscellaneous functions and utilities for System Administrators.
- Host: GitHub
- URL: https://github.com/TechDufus/AdminToolkit
- Owner: TechDufus
- License: mit
- Created: 2020-08-07T02:29:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T17:06:10.000Z (almost 2 years ago)
- Last Synced: 2024-08-14T07:07:14.269Z (8 months ago)
- Topics: powershell
- Language: PowerShell
- Homepage:
- Size: 269 KB
- Stars: 16
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - TechDufus/AdminToolkit - Miscellaneous functions and utilities for System Administrators. (PowerShell)
README
# AdminToolkit
PowerShell Module to assist Windows Admins. This contains many useful administration and utility functions.[](https://github.com/TechDufus/AdminToolkit/actions?query=workflow%3A%22Build+%2B+and+%2B+Publish%22)
[](https://www.powershellgallery.com/packages/AdminToolkit/)
[](https://www.powershellgallery.com/packages/AdminToolkit/)
[](https://github.com/TechDufus/AdminToolkit/blob/master/LICENSE)
## Install from PowerShell Gallery
```powershell
Install-Module AdminToolkit
```
## Update from PowerShell Gallery
```powershell
Update-Module AdminToolkit
```## Installing with Git
### For Windows PowerShell 5.1
```powershell
# For CurrentUser scope
git clone https://github.com/TechDufus/AdminToolkit.git ($env:PSModulePath -split ';')[0]# For AllUsers scope. Must be Admin.
git clone https://github.com/TechDufus/AdminToolkit.git ($env:PSModulePath -split ';')[2]
```
### For PowerShell 6.0+
```powershell
# For CurrentUser scope
git clone https://github.com/TechDufus/AdminToolkit.git $PSGetPath.CurrentUserModules# For AllUsers scope. Must be Admin.
git clone https://github.com/TechDufus/AdminToolkit.git $PSGetPath.AllUsersModules
```PowerShell will now Auto-Load the commands in this module.
## Updating with Git
Navigate into the cloned AdminToolkit folder and run `git pull` to pull the current main (master) branch.
### For Windows PowerShell 5.1
```powershell
# For CurrentUser scope
Set-Location (Join-Path -Path ($env:PSModulePath -split ';')[0] -ChildPath AdminToolkit)
git pull# For AllUsers scope. Must be Admin.
Set-Location (Join-Path -Path ($env:PSModulePath -split ';')[2] -ChildPath AdminToolkit)
git pull
```
### For PowerShell 6.0+
```powershell
# For CurrentUser scope
Set-Location (Join-Path -Path $PSGetPath.CurrentUserModules -ChildPath AdminToolkit)
git pull#For AllUsers scope. Must be Admin
Set-Location (Join-Path -Path $PSGetPath.AllUsersModules -ChildPath AdminToolkit)
git pull
```