Skip to content

Instantly share code, notes, and snippets.

View ngetchell's full-sized avatar

Nicholas M. Getchell ngetchell

View GitHub Profile
@ngetchell
ngetchell / sfsfd
Created December 15, 2017 01:36
fsdf
g
Get-Job | Remove-Job -Force
$Job = Measure-Command { 1..10 | ForEach-Object {
Start-Job -ArgumentList $_ -ScriptBlock {
Param($Arg)
$arg % 2
}
}
Get-Job | Receive-Job -Wait
Function New-Employee {
[cmdletbinding()]
param(
[Parameter(Mandatory)]
$EmployeeID,
[Parameter(Mandatory)]
$FirstName,
[Parameter(Mandatory)]
Get-Process -Name notepad.exe