Go to file
lksz c25de685c1 Replaced -GitClone with -NoGitClone 2020-10-02 14:13:33 -04:00
profile.d System specific update 2020-10-02 12:45:04 -04:00
sys.Linux System specific update 2020-10-02 12:45:04 -04:00
.gitignore Setup-Profile and co. 2020-09-25 01:30:21 -04:00
Edit-MyProfiles.ps1 Minor auto-complete cosmetics 2020-09-30 17:43:36 -04:00
Edit-MyScript.ps1 System specific update 2020-10-02 12:45:04 -04:00
Edit-TextFile.ps1 Setup-Profile fixes + Edit-TextFile fixes 2020-09-30 16:43:07 -04:00
Get-MyScript.ps1 Reload-MyAliases is now Reload-MyScripts 2020-09-18 15:56:40 -04:00
Get-PossibleArguments.ps1 Reload-MyAliases is now Reload-MyScripts 2020-09-18 15:56:40 -04:00
Get-Profiles.ps1 Reload-MyAliases is now Reload-MyScripts 2020-09-18 15:56:40 -04:00
Get-ScopeDepth.ps1 Reload-MyAliases is now Reload-MyScripts 2020-09-18 15:56:40 -04:00
LICENSE Initial commit 2020-09-16 10:56:03 -04:00
README.md Updating README.md with current instructinos 2020-10-02 13:04:17 -04:00
Reload-MyScripts.ps1 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts into master 2020-10-02 13:24:35 -04:00
Setup-Profile.ps1 Replaced -GitClone with -NoGitClone 2020-10-02 14:13:33 -04: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, but nothing else is done. Cloning the repo, is something you'll need to deal with on your own, or you can call the next line.

The [prefered] Short, but with control option

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

This will setup the $PROFILE file properly, and when the -GitClone switch is used, the git repo is cloned into $MyPSScriptRoot.

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

Follow the instructions in the initial blog post which contains the steps for cloning and using the env as your own.

In the above one-liners, https://lksz.me/pwsz actually points to the [Setup-Profile.ps1] file, which means, that after you have the Scripts directory setup, you can all Setup-Profile to setup the $PROFILE file.