GithubHelp home page GithubHelp logo

github01main / powershell_dummies Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 35 KB

powershell auto macros dummie repository it's maded for personal project tools.

License: MIT License

PowerShell 100.00%
powershell

powershell_dummies's Introduction

powershell scripts auto-complete-macro.

i'm mainly use windows 10 these shell scripts are maded for my project please don't use officially on your project.

Features

  • windows-terminal update and installing with scoop CLI installer is added.
  • custom-windows-terminal-settings.json is custom background templetes included. Dracula, Vibrant Tom

list of powershell scripts auto-complete-macro.

Usage

you must Install scoop on your PC if you are using windows os.
Make sure PowerShell 5 (or later, include PowerShell Core) and .NET Framework 4.5 (or later) are installed. Then run:

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

# or shorter
iwr -useb get.scoop.sh | iex

if you didn't worked ? it's ok just follow this Execution policies and reboot your computer.

  1. first step check your powershell Execution Policies.
Get-ExecutionPolicy -List
  1. then read on your command line these policies what is locked.
        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    RemoteSigned
 LocalMachine       AllSigned

normally policies are randomly set-up on your pc you don't need to focus these settings.

  1. set up new Execution policy.
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

we have plenty of selection of Execution Policy example check the below... i recommend first one.

Group Policy Execution Polcity
Allow all scripts Unrestricted
Allow local scripts and remote signed scripts RemoteSigned
Allow only signed scripts AllSigned

then your ExecutionPolicy is changed to Unrestricted check below codes ! then scoop installer is working now.

        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    Unrestricted
 LocalMachine       AllSigned
  1. Reboot PC reboot your PC and import above install commands on your powershell then it works. :)

powershell_dummies's People

Contributors

github01main avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.