Skip to content

Instantly share code, notes, and snippets.

View chrisATautomatemystuff's full-sized avatar

Chris Thomas chrisATautomatemystuff

  • Michigan, USA
View GitHub Profile
$insertFilePath = "C:\IDM\<DISTRICT>_students_insert.csv"
$content = get-content -Path $insertFilePath
if($content -ne $null)
{
Import-Module ActiveDirectory
#DEFINE CURRENT DATE AND TIME
$currentDateTime = (Get-Date).ToString('yyyy-MM-dd@hhmm')
#DEFINE CURRENT DATE
<#
.SYNOPSIS
This script performs the installation or uninstallation of an application(s).
.DESCRIPTION
The script is provided as a template to perform an install or uninstall of an application(s).
The script either performs an "Install" deployment type or an "Uninstall" deployment type.
The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.
The script dot-sources the AppDeployToolkitMain.ps1 script which contains the logic and functions required to install or uninstall an application.
.PARAMETER DeploymentType
The type of deployment to perform. Default is: Install.
@chrisATautomatemystuff
chrisATautomatemystuff / Deploy-CiscoIPCommunicatorToFront.ps1
Created July 25, 2017 12:51
Bring Cisco IP Communicator to Front on calls (Self-Service)
<#
.SYNOPSIS
This script performs the installation or uninstallation of an application(s).
.DESCRIPTION
The script is provided as a template to perform an install or uninstall of an application(s).
The script either performs an "Install" deployment type or an "Uninstall" deployment type.
The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.
The script dot-sources the AppDeployToolkitMain.ps1 script which contains the logic and functions required to install or uninstall an application.
.PARAMETER DeploymentType
The type of deployment to perform. Default is: Install.
@chrisATautomatemystuff
chrisATautomatemystuff / Deploy-CiscoIPCommunicator.ps1
Last active July 25, 2017 12:49
Cisco IP Communicator - PADT
<#
.SYNOPSIS
This script performs the installation or uninstallation of an application(s).
.DESCRIPTION
The script is provided as a template to perform an install or uninstall of an application(s).
The script either performs an "Install" deployment type or an "Uninstall" deployment type.
The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.
The script dot-sources the AppDeployToolkitMain.ps1 script which contains the logic and functions required to install or uninstall an application.
.PARAMETER DeploymentType
The type of deployment to perform. Default is: Install.