PowerShell modules, digital signatures, NuGet nuspec and packages
d-fens GmbH General-Guisan-Strasse 6 CH-6300 Zug Switzerland
| #Requires -Version 7 | |
| # Version 1.2.10 | |
| # check if newer version | |
| $gistUrl = "https://api.github.com/gists/a208d2bd924691bae7ec7904cab0bd8e" | |
| $latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version') | |
| $versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)" | |
| if ([System.IO.File]::Exists($latestVersionFile)) { |
| { | |
| "Condition statement": { | |
| "prefix": "cond", | |
| "body": [ | |
| "${_} { ${0}; break }" | |
| ], | |
| "description": "Switch condition statement" | |
| }, | |
| "Condition single quoted string statement": { |
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <[email protected]> | |
| # Modified by: alirobe <[email protected]> based on my personal preferences. | |
| # Version: 2.12.1, 2018-03-15 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |