Commit Graph

141 Commits

Author SHA1 Message Date
lksz c395c28e01 =Added Switch-DockerCompose 2021-09-11 21:49:09 -04:00
lksz 33b4c5166b Better....
Better Edit-DokcerCompose (suppress errors when permissions don't allow)
Better aliases (eds and edc)
Better Git commands.
2021-09-10 01:20:12 -04:00
lksz 86fdee1acc a lot
Modified shell-loading-snippets
DockerNetwork support
better l and ll
dot the pipe
2021-09-06 14:21:51 -04:00
Gal @Varonis Lab 50d9aef264 =Fixed some errors in Setup-ScriptEnv 2021-08-23 15:57:46 +00:00
Gal Szkolnik 1b3a16806a Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-08-10 15:51:11 +00:00
Gal Szkolnik 2ce7561fb7 =Generalize editor initialization 2021-08-10 15:50:43 +00:00
Gal Szkolnik 624ca2cc8c =added option to stay around after pwsh 2021-07-16 08:30:11 -05:00
Gal Szkolnik 509e15f8ef Add support for preserving specific devices 2021-07-16 09:23:58 -04:00
Gal Szkolnik fd9b8a968c Fix dps and Get-HAPath
DPS -MatchAny should work better now
Get-HAPath refined
2021-07-16 09:04:24 -04:00
Gal Szkolnik 0a2bb25700 Added better constrol over waiting for editor 2021-07-14 17:05:48 -04:00
lksz 187eb22b99 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-06-29 23:16:39 -04:00
lksz a8f55a151d =Fixed linux bug with latest edit-textfile change 2021-06-29 23:16:28 -04:00
Gal Szkolnik 1a05359193 =Fix SessionData Get bug when persistent storage doesn't exist yet 2021-06-29 22:46:33 +00:00
itadmin d33131cd78 Support spaces in the editor path 2021-06-29 19:44:18 +00:00
Gal Szkolnik 649b01ce1c scoop package support for [SessionData]
was supposed to be added with [SessionData] commit
2021-06-29 15:06:01 -04:00
Gal Szkolnik 6fb86bf855 =Bug fix in SessionData for Windows 2021-06-29 10:45:29 -04:00
lksz 55f5acc0f2 =Modified SessionData to work on Linux 2021-06-29 10:35:25 -04:00
Gal Szkolnik 2d858a8a06 Add SessionData class to setup script
Added [SessionData] static class to setup script
Utilized SessionData for scoop refreshing, so it will happen once per login session
 - otherwise it's a nuisance.
2021-06-29 09:46:57 -04:00
Gal Szkolnik 90bd351641 Bug fix for Get-DockerProcess
Get-Member would error when input was missing.
2021-06-24 09:47:51 -04:00
lksz 8cbb2e2252 =Added comment to convertto-zip for clarity 2021-06-24 09:43:37 -04:00
lksz b92f8fb9e8 updated README.md after renaming the setup script 2021-06-22 00:22:58 -04:00
lksz b8e123d447 Fine tuned dps output 2021-05-27 13:10:16 -04:00
lksz 6b8bd711af Edit-MyScript supports -TypeData editing 2021-05-27 12:47:27 -04:00
lksz 84d533a210 format.ps1xml support + fixes
+ Get-DockerProcess modified to display volume mappings (Binds) as well
  as docker-compose project names.
+ Reload-MyScripts will look for *.format.ps1xml files in the profile.d
  directory and load the format data from it.
+ Get-DockerProcess output is typed and a TypeData.format.ps1xml file
  was added to the package
+ Added _ll alias for easy posix ls -la output.
+ config.files.json modified for better neovim support.
2021-05-27 11:48:00 -04:00
Gal Szkolnik fefb5e2572 Added Get-EventLogSz (after pulling upstream) 2021-05-25 16:11:16 +00:00
Gal Szkolnik 2aa29de253 Updated HA package
Refresh-HADeviceRegistry added prompts as well as generalization using
the profile.d set variables.
Added profile.d template file for smoother setup
Added HA Addon commands
2021-05-23 16:13:28 -04:00
Gal Szkolnik b410ec839d Added Home-Assistant package. 2021-05-23 12:47:20 -04:00
Gal Szkolnik 60825c92c8 Updated MyPackage code
Better handling of package creation/modification via Set-MyPackage
Update the szCondition class to include CmdletExists+AppExeExists
2021-05-20 14:15:58 -04:00
Gal Szkolnik 23e4c03c92 Added Set-ScreenRefreshRate function 2021-05-12 09:36:07 -04:00
Gal Szkolnik 1567ed3547 Add -UseBasicParsing to bypass warning in Windowsi 2021-05-12 09:34:42 -04:00
Gal Szkolnik c38785cbf5 Edit-MyScript fix for Windows/PS5.1
When calling Edit-TextFile wihtout explicitly specifying -Path, multiple
files in command line would be passed on to editor incorrectly, with the
-Path explicitly specified, this now works in all versions of PowerShell
2021-05-12 09:29:18 -04:00
lksz 9f0d669b4c Ansible Output improvements
Using AnsibleOutput type, default type data will output 4 last lines,
while all lines would be available if needed.
2021-05-09 23:45:23 -04:00
lksz 92bd7ba69f Added haste module with New-Haste cmdlet 2021-05-08 17:48:32 -04:00
lksz 877f9adb4e Introducing Where-Ask script
A pipeline filter that will ask for confirmation based on the
parameters
2021-05-08 17:47:15 -04:00
lksz a64d3c83af Updated Ansible scripts
Cleaner output, with focus on last lines of output by default
2021-05-08 17:46:33 -04:00
lksz 7cb9f09c8c Ansible modifications
--one-line output is the default
added stopwatch timing to the default output
combined Status and RC into a single 2 element array, so that # of
columns would default to table format

Instead of -OneLine a -RawOutput switch was introduced to force full
output
2021-05-05 17:57:09 -04:00
lksz 35fe3a156f Fixed startup issues
Fixed Package condition testing which would fail, but also made it more
verbose.
Fixed shell-loading-snippets because of the rename to Setup-ScriptEnv.
2021-04-27 17:41:00 -04:00
Gal Szkolnik 5b8f0ca309 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-27 16:39:03 +00:00
Gal Szkolnik 171409437b Modified Setup process to be an opt-in, live type
Also minor fix to edit-textfile to accept Path named property as input

(cherry picked from commit 272d3f91af836d094d5e19a14fbfa06331677eda)
2021-04-27 16:34:19 +00:00
Gal Szkolnik 22aa3ba435 Improve performance of Package identification
Using -ListAvailable with Get-Command to ensure no module loading is
    attampeted while querying loaded commands.
    This improved performance when certain modules have not been
    loaded yet
2021-04-27 16:04:12 +00:00
lksz ac10608cc0 =Fixed oh-my-posh style verification for non Windows systems 2021-04-25 13:03:16 -04:00
lksz 499a86baa6 Added #TotalTime# option to Show-Progress Status 2021-04-22 16:51:42 +00:00
lksz 2f317c53f3 Formatting and agility
skip scoop in VSCode
Fix CovertFrom-TimeSpan to handle series and FieldName
2021-04-20 23:43:17 +00:00
lksz c9d13f5c4d package defintion improvements
Added CmdletExists and AppExeExists conditions
Cleanup of existing package description files
2021-04-16 17:07:00 +00:00
lksz 2b51f37cb7 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-16 15:45:54 +00:00
lksz 870887a577 Progress improvements + Waiting with progress 2021-04-16 15:45:36 +00:00
lksz b1f612828f Style update for Non-ANSI environments 2021-04-16 15:44:50 +00:00
lksz@work b303fa0f88 Cleanup of basics to work in Win + fixes to bugs 2021-04-07 16:04:46 -04:00
lksz b558edacd9 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-04 14:47:08 -04:00
lksz 8a93a0f123 git related improvements and implementations
+ Get-GitRepo - Clone or update a repo, with tag support
+ Get-GitHubReleaseTag - Grab tag from latest release page
+ Refresh-GitRepo - Stage all possible changes, discarding any
previously stageds changes
= GitHub repo is now git repo - as some code isn't GitHub specific
+ cat Alias for Get-Content
= Get-PossiblArguments improvement
= Invoke-WebDownload fix
= dcedit fixing bad argument processing
2021-04-04 14:42:29 -04:00