Git Product home page Git Product logo

powershell-powerup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powershell-powerup's Issues

PP App install

Check config in install

Logic and message is in install, > xml config

Add install template

Change Name

Update-PowerShellProfile

Replace eventlog config and proflile config

Change Folder name

\Microsoft.PowerShell_profile.install.ps1

Restart console

Remove-EventLog -LogName "PowerShell Profile"
Update-PPEventLog
Update-PPEventLog
cd $PSProfile.Path
git remote set-url origin https://github.com/janikvonrotz/PowerShell-PowerUp.git
git config --get remote.origin.url
Update-PowerShellPowerUp
Update-ScheduledTask -All

Update from Repo

Show if update is available for the repo, add function which Update-PowerShellProfile.ps1

$PSProfilePath

New feature to install chocolatey and/or psget

install chocolatey

if(!(Get-Command "cinst" -ErrorAction SilentlyContinue)){
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
}

if(!(Get-Module -ListAvailable | where{$_.Name -eq "PsGet"})){

# install module with chocolatey
& C:\Chocolatey\bin\cinst.bat psget -force

# import module with static path
Import-Module "C:\Program Files\Common Files\Modules\PsGet\PsGet.psm1"

}else{

Import-Module PsGet

}

if(!(Get-Module -ListAvailable | where{$_.Name -eq "pscx"})){

# install module with PsGet
Install-Module pscx

}

Import-Module pscx

Error empty registry configuration

Adding registry entry:
Set-ItemProperty : Das Argument kann nicht an den Parameter "Path" gebunden
werden, da es NULL ist.
In C:\Powershell-Profile\Microsoft.PowerShell_profile.install.ps1:84 Zeichen:29

  •     Set-ItemProperty -Path $RegistryEntry.Path -Name $RegistryEntry.Name
    
    -Value ...
  •                            ~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Set-ItemProperty], ParameterBi
      ndingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
      icrosoft.PowerShell.Commands.SetItemPropertyCommand

Install default modules with chocolatey

force download as zip
then start install script

Script installs chocolatey

Chocolatey installs

cinst pscx
cinst psget

if git support

cinst git.install

update repository

and then install powershell profile

Update redme

Download PowerShell-Profile

or clone with git

etc.

New Type ScriptShortcut

Start-PPScript (spps)
Get-PPScript (gpps) -Shortcut
Add-PPScriptShortcut
Remove-PPScriptShortcut

Key
Name
Filename

Create install packages

Add Possibility to Add executable shortcut > check bin folder for template

Add Install-App.ps1 template to the template folder.

Error only on install

Convert-Path : Der Pfad "C:\Powershell-Profile\Microsoft.PowerShell_profile.ps1" kann nicht gefunden werden, da er
nicht vorhanden ist.
In C:\Powershell-Profile\Microsoft.PowerShell_profile.config.ps1:47 Zeichen:9

  • Path = Convert-Path($PSProfilePath + "\Microsoft.PowerShell_profile.ps1")
    
  •        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Powershell-P...ell_profile.ps1:String) [Convert-Path], ItemNotFoundE
      xception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ConvertPathCommand

Convert-Path : Der Pfad "C:\Powershell-Profile\Microsoft.PowerShell_profile.ps1" kann nicht gefunden werden, da er
nicht vorhanden ist.
In C:\Powershell-Profile\Microsoft.PowerShell_profile.config.ps1:52 Zeichen:9

  • Path = Convert-Path($PSProfilePath + "\Microsoft.PowerShell_profile.ps1")
    
  •        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Powershell-P...ell_profile.ps1:String) [Convert-Path], ItemNotFoundE
      xception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ConvertPathCommand

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.