Skip to content

Instantly share code, notes, and snippets.

View jaywryan's full-sized avatar
💭
Kube'in the netes

jaywryan

💭
Kube'in the netes
View GitHub Profile
@jaywryan
jaywryan / March-Beginner.ps1
Last active March 6, 2016 20:42
March Puzzle
get-childitem -Path .\FileShare -Recurse | where {$_.Name -match '[\u00C0-\u00D6]' -or $_.Name -match '[\u00D8-\u00F6]' -or $_.Name -match '[\u00F8-\u00FF]'} | foreach { [pscustomobject]@{'FileName' = $_.Name;'Directory' = $_.Directory;'Created' = $_.CreationTime;'Modified' = $_.LastAccessTime;'Size' = $_.Length} } | Format-Table -AutoSize
@jaywryan
jaywryan / VSCodeDeepDive.md
Last active May 23, 2017 20:04 — forked from daviwil/VSCodeDeepDive.md
The notes from my session "Authoring in VS Code" at the 2017 PowerShell and DevOps Global Summit in Bellevue, WA.

Visual Studio Code Deep Dive

David Wilson - @daviwil Software Engineer, PowerShell Team

Overview

  1. Visual Studio Code overview
  2. Configuring the editor
  3. Extensions
Function Get-ClipboardText() {
<#
.Synopsis
cmdlet to use the Windows Forms.TextBox for copy and paste
.DESCRIPTION
This receives text from the clipboard and can be sent through the
pipeline as a text string. Useful for piping computernames, or usernames
through to other cmdlets
.EXAMPLE
Get-ClipboardText | Get-ADComputer