Skip to content

Instantly share code, notes, and snippets.

View ngetchell's full-sized avatar

Nicholas M. Getchell ngetchell

View GitHub Profile
Get-Process -Name notepad.exe
Function New-Employee {
[cmdletbinding()]
param(
[Parameter(Mandatory)]
$EmployeeID,
[Parameter(Mandatory)]
$FirstName,
[Parameter(Mandatory)]
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
@ngetchell
ngetchell / sfsfd
Created December 15, 2017 01:36
fsdf
g