Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

40
Here's my little library of powershell modules.
Post Flair (click to view more posts with a particular flair)
Post Body

Just figured I shared some powershell modules I made.

https://gitlab.com/hkseasy/hkshell

~TLDR I use these in my day to day life. Some navigation tools, some file modification tools. Really nothing profound just some wrappers and powershell expansion tools. If you have any questions about anything just shoot me a message. You may see some coding warcrimes in here from before I was more knowledgeable. If you have any advice or criticisms I'm always open to learning. I'm purely self taught and haven't really collaborated before so I'm sure I have some bad habits I'm unaware of.

Modhandler - basically the manager of the modules. idk, it's really just a wrapper for import-module so you can import or reimport a module regardless of what dir you're in. I'd import this first so you can just do the following for the rest of the modules.

importhks persist [-f]

Persist - probably the most fun I had out of the collection. It allows you to have persistent variables outside of editing the registry or your env variables. Really it's just regex mixed with a few txt files but feel free to use this command for more info

Invoke-Persist help

Nav - I really like this one because I have a terrible memory for where all my directories and files are. I'll use Invoke-Go (aliased to just g) for just about everything. Really it's just a glorified cd and dir, a sprinkle of tree, with custom formatting. You can also use Invoke-Go -Left $path and Invoke-Go -Right $otherPath to navigate two different directories simultaneously. Also I hate typing out the whole file name so you can just use the index of the file/dir to navigate like so: Invoke-Go 0 will just navigate to the first directory. There's also a shortcuts functionality.

Projects - This one gets sorta involved but I use this as my project management suite.

fs - File modification tools. Includes a better way to move files/dirs around (imo), more wrappers. I'm a terminal powershell wrapper. Sort of the way I learned powershell was writing wrappers for everything. It helped me memorize the commands and features better for some reason. ANyway

There's several more but these are the ones I use on a daily basis.

Author
Account Strength
50%
Account Age
1 year
Verified Email
Yes
Verified Flair
No
Total Karma
585
Link Karma
120
Comment Karma
465
Profile updated: 4 days ago
Posts updated: 3 weeks ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 month ago