Skip to content

Instantly share code, notes, and snippets.

View diecknet's full-sized avatar
👋

Andreas Dieckmann diecknet

👋
View GitHub Profile
@jrich523
jrich523 / show-psobject.ps1
Created January 4, 2019 18:47
powershell show object advanced
function Show-Object{
param(
## The object to examine
[Parameter(ValueFromPipeline = $true)]
$InputObject
)
#custom controls for treeview... found it on MSDN a while ago, lost link :-/
[void][System.Reflection.Assembly]::LoadWithPartialName('presentationframework')
@krisleech
krisleech / renew-gpgkey.md
Last active March 28, 2024 09:50
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date: