https://github.com/zeewanderer/psuitilities
A collection of PowerShell utilities I use for various stuff
https://github.com/zeewanderer/psuitilities
powershell
Last synced: 12 months ago
JSON representation
A collection of PowerShell utilities I use for various stuff
- Host: GitHub
- URL: https://github.com/zeewanderer/psuitilities
- Owner: ZeeWanderer
- Created: 2025-02-18T00:08:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-28T14:15:03.000Z (12 months ago)
- Last Synced: 2025-03-03T20:03:36.009Z (12 months ago)
- Topics: powershell
- Language: PowerShell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PSUitilities
## Overview
A collection of PowerShell utilities I use for various stuff
## Installation
To install the module, clone the repository and import the module:
```powershell
git clone https://github.com/ZeeWanderer/PSUtilities.git
Import-Module ./PSUtilities/PSUitilities.psd1
```
Or add the cloned repository to `PSModulePath` environment variable for autoimport.
## Features
### Git Tools
- **Git-SubmoduleUpdate**: Updates all git submodules.
- **Git-SubmoduleUpdateInit**: Initializes and updates all git submodules.
- **Git-SubmoduleUpdateInitRecursive**: Recursively initializes and updates all git submodules.
- **Git-SubmoduleDeinit**: Deinitializes git submodules.
- **Git-CleanSubmodules**: Checks out all files in all submodules recursively.
- **Git-AllSubmodulesResetHard**: Resets all submodules to their HEAD state.
- **Git-SubmoduleUpdatePull**: Updates a specified submodule by pulling its latest changes.
- **Git-FetchUpstream**: Fetches updates from upstream and rebases the current branch.
- **Git-PullUpstream**: Pulls updates from upstream for the current branch.
- **Git-Reset**: Resets the current branch to a specified commit hash.
- **Git-ResetHard**: Hard resets the current branch to a specified commit hash.
- **Git-ResetHard-Times**: Hard resets the current branch to a specified number of commits back.
- **Git-RemoveDerivedTags**: Removes derived Git tags both locally and remotely.
- **Git-Exterminatus**: Cleans the git repository by removing untracked files and directories.
- **Git-RemoveLocalBranchesNotOnRemote**: Deletes local branches that are not present on the remote.
### Python Tools
- **Python-UpgradePip**: Upgrades pip package manager for a Python installation.
- **Python-UpdatePackages**: Updates outdated Python packages.
- **Python-CheckUpdates**: Lists outdated Python packages with version information.
- **Python-ExportRequirements**: Exports all installed Python packages in requirements.txt format.
- **Python-InstallPyinstallerDev**: Installs the development version of PyInstaller from GitHub.
- **Python-AddVersionHardlinks**: Creates Python version hardlinks