Skip to content

Instantly share code, notes, and snippets.

View numbworks's full-sized avatar

numbworks numbworks

View GitHub Profile
@nyanhp
nyanhp / New-IcsEvent.ps1
Created July 20, 2018 10:33
Use PowerShell to create new ICS files
function New-IcsEvent
{
[OutputType([System.IO.FileInfo[]])]
[CmdletBinding(SupportsShouldProcess, ConfirmImpact = 'Low')]
param
(
[Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
[datetime[]]
$StartDate,