A catch all for my miscellaneous functions.
PowerShell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Scripts
Snippets
Compile-DSCConfiguration.ps1
Create-VM.ps1
Get-FreeSpace.ps1
Get-LastUpdate.ps1
Get-LoggedOnUser.ps1
Get-PublicIP.ps1
Get-SysInfo.ps1
Map-Datastore.ps1
New-Password.ps1
Remove-AutoMapping.ps1
Test-ADComputer.ps1
Test-Service.Tests.ps1
Test-Service.ps1
TheToolbox.psd1
Update-ComputerDescription.ps1
Update-UPN.ps1
Upgrade-VM.ps1
readme.md

readme.md

The Toolbox

The Toolbox is a catch all for my miscellaneous functions.

Module Overview

  • Active Directory
    • Test-ADComputer - Returns online/offline status of AD computers.
    • Update-UPN - Updates the UserPrincipleName for a selection of AD users.
  • Desired State Configuration
    • Compile-DSCConfiguration - Compiles your DSC configuration MOFs and copies them to your pull server.
  • Exchange
    • Remove-AutoMapping - Removes automapped Exchange 2013 mailboxes from Outlook while preserving the underlying access rights.
  • Utilities
    • Get-FreeSpace - Displays available free space on local and remote computers.
    • Get-LastUpdate - Gets the last update installed on a computer.
    • Get-LoggedOnUser - Gets the current logged on user account.
    • Get-PublicIP - A simple function that returns your public IP.
    • Get-SysInfo - Gathers local and/or remote system information.
    • New-Password - Generates a random password using ASCII printable characters.
    • Test-Service - Tests and corrects the status of a service.
    • Update-ComputerDescription - Updates the description of specified remote computers.
  • VMware
    • Create-VM - Creates a VMware virtual machine based on environment specific values.
    • Map-Datastore - Maps a VMware datastore to a PSDrive.
    • Upgrade-VM - Upgrades a VM's hardware version and/or VM Tools if needed.