Skip to content

dfinke/PowerShellKV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A PowerShell key value store that allows you to save snippets of text that you can later find and copy to your clipboard

inspired by http://kv.codeplex.com/

#Usage:

kv name "John Doe" # saves the the value, 'John Doe' under the key, 'name'
kv name            # retrieve the value 'John Doe' straight to your clipboard.
kv #lists all keys
kv -r name # will remove the key 'name' and its value from the store

#You can also pipe data

'Hello John' | kv Greeting  # will store 'Hello John' under the key 'Greeting'
gc .\kv.ps1 | kv TheFile # will store the content of 'kv.ps1' under the key 'TheFile'

#Where's the data?

The key values are stored in in the folder $env:LOCALAPPDATA\kv\kvps.snippet using the Export-CliXml

$hastable | Export-CliXml $env:LOCALAPPDATA\kv\kvps.snippet

About

A key value store that allows you to save snippets of text that you can later find and copy to your clipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published