Skip to content

Instantly share code, notes, and snippets.

@Hexalon
Hexalon / DBBackup.ps1
Created June 11, 2018 22:51
Backup script to work around vendor's design limitations.
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2015 v4.2.82
Created on: 3/6/2015 12:58
Created by: Colin Squier <hexalon@gmail.com>
Filename: DBBackup.ps1
===========================================================================
.DESCRIPTION
Backup script to work around vendor's design limitations.
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.118
Created on: 2/3/2016 9:50
Created by: Colin Squier <Hexalon@gmail.com
Filename: ADReplicationReports.ps1
===========================================================================
.DESCRIPTION
Automates several AD replication diagnostic commands and email reports.
@Hexalon
Hexalon / Prepare-Gen2VM.ps1
Last active January 31, 2017 21:40
Creates a Hyper-V compatible vhdx virtual hard drive from a custom WIM.
#requires -version 4.0
#requires -modules Hyper-V,Storage,DISM
#Requires -RunAsAdministrator
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.127
Created on: 8/12/2016 13:50
Created by: Colin Squier <Hexalon@gmail.com>
Filename: Prepare-Gen2VM.ps1
@Hexalon
Hexalon / Enable-AutomaticManagedPageFile.ps1
Created July 28, 2016 18:35
Enables the automatic managed page file for all drives
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.124
Created on: 7/28/2016 13:29
Created by: Colin Squier <hexalon@gmail.com
Filename: Enable-AutomaticManagedPageFile.ps1
===========================================================================
.DESCRIPTION
Enables the automatic managed page file for all drives.
@Hexalon
Hexalon / Install-SCEP.ps1
Last active July 20, 2016 16:09
Automates installation of System Center Endpoint Protection.
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.123
Created on: 6/24/2016 10:24
Created by: Colin Squier <Hexalon@gmail.com>
Filename: Install-SCEP.ps1
===========================================================================
.DESCRIPTION
Automates installation of System Center Endpoint Protection.
@Hexalon
Hexalon / Install-SCCM.ps1
Created June 29, 2016 20:40
Automates installation of System Center Configuration Manager.
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.123
Created on: 6/24/2016 10:24
Created by: Colin Squier <Hexalon@gmail.com>
Filename: Install-SCCM.ps1
===========================================================================
.DESCRIPTION
Automates installation of System Center Configuration Manager.
@Hexalon
Hexalon / Install-WMF2.ps1
Created June 15, 2016 15:10
Automates installation of PowerShell 2 on Server 2008
<#
.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-WMF2.ps1
===========================================================================
.DESCRIPTION
Automates installation of PowerShell 2.
@Hexalon
Hexalon / Install-WMF5.ps1
Created June 14, 2016 18:01
Automates installation of Windows Management Framework 5
#Requires -Version 4.0
[CmdletBinding()]
Param(
[switch]$OnlineInstall = $false
)
<#
.NOTES
@Hexalon
Hexalon / CheckFolderRedirection.Export.ps1
Created June 10, 2016 16:24
GUI version of queries redirected folder locations using the .NET Framework. Stores data in an ordered hash table and writes to the pipline.
<#
.NOTES
--------------------------------------------------------------------------------
Code generated by: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.122
Generated on: 6/10/2016 10:44
Generated by: Colin Squier <Hexalon@gmail.com
--------------------------------------------------------------------------------
.DESCRIPTION
GUI script generated by PowerShell Studio 2016
#>
@Hexalon
Hexalon / Disable-LocalStoreOverride.ps1
Created June 2, 2016 16:26
Disables local GPO store override, creates the key if it does not exist.
#Requires -RunAsAdministrator
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.122
Created on: 6/2/2016 11:24
Created by: Colin Squier <hexalon@gmail.com>
Filename: Disable-LocalStoreOverride.ps1
===========================================================================
.DESCRIPTION