Skip to content

Instantly share code, notes, and snippets.

@Hexalon
Hexalon / Install-WMF5.ps1
Last active June 21, 2017 12:36
Automates installation of Windows Management Framework 5
#Requires -Version 4.0
[CmdletBinding()]
Param(
[switch]$OnlineInstall = $false
)
<#
.NOTES
@Hexalon
Hexalon / Enable-BitLocker.ps1
Created March 15, 2016 13:50
Automates configuration of BitLocker drive encryption
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.116
Created on: 2/18/2016 09:42
Created by: Colin Squier <hexalon@gmail.com>
Filename: Enable-BitLocker.ps1
===========================================================================
.DESCRIPTION
Automates configuration of BitLocker drive encryption.
@Hexalon
Hexalon / Install-NetFx3.Win10.ps1
Created March 15, 2016 19:48
Automates .NET Framework 3.5 installation on Win10
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.116
Created on: 3/9/2016 13:59
Created by: Colin Squier <hexalon@gmail.com>
Filename: Install-NetFx3.Win10.ps1
===========================================================================
.DESCRIPTION
Automates .NET Framework 3.5 installation on Win10. The script will
@Hexalon
Hexalon / Imaging-Win10.ps1
Last active August 17, 2017 18:05
Provides interactive/automated imaging operations using DISM and WinPE
#requires -version 4.0
#requires -modules Storage,DISM
#Requires -RunAsAdministrator
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.117
Created on: 3/16/2016 10:05
Created by: Colin Squier <hexalon@gmail.com>
Filename: Imaging-Win10.ps1
@Hexalon
Hexalon / Lock-Computer.ps1
Last active August 26, 2020 14:06
Uses C# to call an Win32 API to lock the computer
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.117
Created on: 3/25/2016 17:33
Created by: Colin Squier <hexalon@gmail.com>
Filename: Lock-Computer.ps1
===========================================================================
.DESCRIPTION
Uses C# to call an Win32 API to lock the computer
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2015 v4.2.89
Created on: 7/30/2015 12:48 PM
Created by: Colin Squier <hexalon@gmail.com
Filename: Install-WMF4.ps1
===========================================================================
.DESCRIPTION
Automates installation of PowerShell 4.
@Hexalon
Hexalon / StringToHex.ps1
Created April 19, 2016 20:12
Converts input string to a hex value
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.117
Created on: 3/22/2016 10:15
Created by: Colin Squier <hexalon@gmail.com>
Filename: StringToHex.ps1
===========================================================================
.DESCRIPTION
Converts input string to a hex value.
@Hexalon
Hexalon / Set-Win10-CustomBackground.ps1
Last active May 15, 2016 20:57
Changes default Windows 10 background images to custom background images
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.120
Created on: 4/28/2016 08:18
Created by: Colin Squier <hexalon@gmail.com>
Filename: Set-Win10-CustomBackground.ps1
===========================================================================
.DESCRIPTION
Changes default Windows 10 background images to custom background images.
@Hexalon
Hexalon / Install-SkypeForBusiness2015.ps1
Created May 16, 2016 13:52
Automates installation of Skype For Business 2015
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.119
Created on: 5/3/2016 09:37
Created by: Colin Squier <Hexalon@gmail.com>
Filename: Install-SkypeForBusiness2015.ps1
===========================================================================
.DESCRIPTION
Automates installation of Skype For Business 2015.
@Hexalon
Hexalon / Fix-OfficeActivation.ps1
Created May 19, 2016 19:10
Set the KMS host for Office and activates Office.
[CmdletBinding()]
Param ()
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.120
Created on: 4/27/2016 14:56
Created by: Colin Squier <hexalon@gmail.com>
Filename: Fix-OfficeActivation.ps1