Go to file
Gal Szkolnik fefb5e2572 Added Get-EventLogSz (after pulling upstream) 2021-05-25 16:11:16 +00:00
7zip package defintion improvements 2021-04-16 17:07:00 +00:00
HomeAssistant Updated HA package 2021-05-23 16:13:28 -04:00
ansible Ansible Output improvements 2021-05-09 23:45:23 -04:00
base Updated MyPackage code 2021-05-20 14:15:58 -04:00
base.linux Improve performance of Package identification 2021-04-27 16:04:12 +00:00
base.win Added Get-EventLogSz (after pulling upstream) 2021-05-25 16:11:16 +00:00
docker package defintion improvements 2021-04-16 17:07:00 +00:00
git Add -UseBasicParsing to bypass warning in Windowsi 2021-05-12 09:34:42 -04:00
hastebin Added haste module with New-Haste cmdlet 2021-05-08 17:48:32 -04:00
scoop Improve performance of Package identification 2021-04-27 16:04:12 +00:00
shell-loading-snippets Fixed startup issues 2021-04-27 17:41:00 -04:00
.gitignore Added Pause and RandomString + some minor fixes 2021-04-02 22:58:01 +00:00
LICENSE Initial commit 2020-09-16 10:56:03 -04:00
README.md Introducing Packages 2020-11-25 01:20:52 -05:00
Setup-ScriptEnv.ps1 Modified Setup process to be an opt-in, live type 2021-04-27 16:34:19 +00:00

README.md

PowerShell Scripts

These are the scripts that go into $MyPSScriptRoot which is part of my $env:PATH.

The development of these is documented in my blog: https://blog.lksz.me

They are provided 'as is' for your review and for your reuse.

This envrionment can be installed using one the following options:

The Short, yet safer way

iwr https://lksz.me/pwsz | iex

This sets up the $PROFILE file, and initilizes the default dir $MyPSScriptRoot with a git clone of this repo. The https://lksz.me/pwsz actually points to the Setup-Profile.ps1 script, which means, that after you have the Scripts directory setup, you can call Setup-Profile to update the $PROFILE after the Setup-Profile.ps1 has been modified (or updated via git pull).

The somewhat Short, but with control option

$sfw=1; iwr https://lksz.me/pwsz | iex; _setup [-sudo] [-Force] [-NoGitClone] [-GitURL <alternative git URL>] [-WhatIf] [-Confirm] [<CommonParameters>]

The key here is $sfw=1, which can be substitued with the more verbose $SetupFromWeb=1, this let's the Setup-Profile script know to just load it's content, but allow you to manually call it's internal function via _setup

The 'I don't trust one liners, what's going on ?!?' option

You can always clone the git repo first, and only then run the Setup-Profile.ps1 script.