Skip to content

Instantly share code, notes, and snippets.

Loïc MICHEL kayasax

  • Colas
  • France
Block or report user

Report or block kayasax

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kayasax / parameters.ps1
Last active Jun 14, 2017
Exemple d'usage de PARAMETER
View parameters.ps1
[CmdletBinding()] #make script react as cmdlet (-verbose etc..)
[Parameter(Position=0, Mandatory=$true,ValueFromPipeline = $true)]
kayasax / Powershell Script Template.ps1
Last active Dec 22, 2015
Template for powershell script. Makes all errors "terminating" and send mail if error occurs
View Powershell Script Template.ps1
# Templata.ps1
# author: Loic MICHEL
# date: 10/09/2013
# abstract: make all errors terminating errors and send email + raise event in case of failure
You can’t perform that action at this time.