Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralish/PSWinGlue
An assortment of useful PowerShell scripts & functions
https://github.com/ralish/PSWinGlue
powershell scripts sysadmin
Last synced: about 1 month ago
JSON representation
An assortment of useful PowerShell scripts & functions
- Host: GitHub
- URL: https://github.com/ralish/PSWinGlue
- Owner: ralish
- License: mit
- Created: 2014-09-14T08:05:50.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T02:32:16.000Z (about 1 month ago)
- Last Synced: 2024-12-01T03:23:57.373Z (about 1 month ago)
- Topics: powershell, scripts, sysadmin
- Language: PowerShell
- Homepage:
- Size: 319 KB
- Stars: 46
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - ralish/PSWinGlue - An assortment of useful PowerShell scripts & functions (PowerShell)
README
PSWinGlue
=========[![pwsh ver](https://img.shields.io/powershellgallery/v/PSWinGlue)](https://www.powershellgallery.com/packages/PSWinGlue)
[![pwsh dl](https://img.shields.io/powershellgallery/dt/PSWinGlue)](https://www.powershellgallery.com/packages/PSWinGlue)
[![license](https://img.shields.io/github/license/ralish/PSWinGlue)](https://choosealicense.com/licenses/mit/)A PowerShell module consisting of an assortment of useful scripts.
- [Requirements](#requirements)
- [Installing](#installing)
- [Usage](#usage)
- [Functions](#functions)
- [License](#license)Requirements
------------- PowerShell 3.0 (or later)
Some functions require a later PowerShell versionInstalling
----------### PowerShellGet (included with PowerShell 5.0)
The module is published to the [PowerShell Gallery](https://www.powershellgallery.com/packages/PSWinGlue):
```posh
Install-Module -Name PSWinGlue
```### ZIP File
Download the [ZIP file](https://github.com/ralish/PSWinGlue/archive/stable.zip) of the latest release and unpack it to one of the following locations:
- Current user: `C:\Users\\Documents\WindowsPowerShell\Modules\PSWinGlue`
- All users: `C:\Program Files\WindowsPowerShell\Modules\PSWinGlue`### Git Clone
You can also clone the repository into one of the above locations if you'd like the ability to easily update it via Git.
### Did it work?
You can check that PowerShell is able to locate the module by running the following at a PowerShell prompt:
```posh
Get-Module PSWinGlue -ListAvailable
```Usage
-----This module has been written to support two methods of using the functions it includes:
- As a regular PowerShell module (i.e. install module and call the commands it exports)
- Calling individual functions directly via their script file independent of the moduleTo support the latter, each exported function resides in its own script file and has no dependencies on code elsewhere in the module. This allows for easy usage of the functions in scenarios where it may not be desirable to install the entire module (e.g. logon scripts or in other automated contexts). A given script can simply be copied to the desired location and directly called, typically with no additional setup beyond any documented external dependencies.
Functions
---------### Add-VpnCspConnection
Adds a VPN connection using the VPNv2 CSP via the MDM Bridge WMI Provider.
Supported OS(s)
Windows 10 1607 or later
Minimum PowerShell version
5.1
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Find-OrphanDependencyPackages
Locates orphan dependency packages in the system package cache.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Get-ControlledGpoStatus
Check Windows domain GPOs and AGPM server controlled GPOs are in sync.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
GroupPolicy
Microsoft.Agpm
Required 3rd-party software
None
### Get-Fonts
Retrieves registered fonts.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Get-InstalledPrograms
Retrieves installed programs.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Get-TaskSchedulerEvent
Retrieves events matching the specified IDs from the Task Scheduler event log.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Hide-SilverlightUpdates
Hides Silverlight updates.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Install-ExcelAddin
Installs Excel add-ins.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
Microsoft Excel
### Install-Font
Installs a specific font or all fonts from a directory.
Supported OS(s)
Windows
Minimum PowerShell version
4.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Install-VSTOAddin
Install a Visual Studio Tools for Office (VSTO) add-in.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
Microsoft Visual Studio Tools for Office (VSTO) Runtime
### Register-MicrosoftUpdate
Register the Microsoft Update service with the Windows Update Agent.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Remove-AlternateDataStream
Remove common unwanted alternate data streams from files.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Remove-OrphanDependencyPackages
Removes orphan dependency packages in the system package cache.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Set-SharedPCMode
Configures Shared PC Mode using the SharedPC CSP via the MDM Bridge WMI Provider.
Supported OS(s)
Windows 10 1607 or later
Minimum PowerShell version
5.1
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Sort-RegistryExport
Lexically sorts the exported values for each registry key in a Windows Registry export.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Uninstall-Font
Uninstalls a specific font by name.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
None
### Uninstall-ObsoleteModule
Uninstalls obsolete PowerShell modules.
Supported OS(s)
Linux, macOS, Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
PowerShellGet
Required 3rd-party software
None
### Uninstall-VSTOAddin
Uninstall a Visual Studio Tools for Office (VSTO) add-in.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
Microsoft Visual Studio Tools for Office (VSTO) Runtime
### Update-GitRepository
Updates a Git repository.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
Git
### Update-OneDriveSetup
Update OneDrive during Windows image creation.
Supported OS(s)
Windows
Minimum PowerShell version
3.0
Required 3rd-party module(s)
None
Required 3rd-party software
Microsoft OneDrive
License
-------All content is licensed under the terms of [The MIT License](LICENSE).