Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Toolkit: A Versatile Toolset for Windows

Windows YouTube Reddit

GitHub   YouTube   My Awesome Lists

mindmap
  root((PowerShell <br/>Toolkit))

    Language
      PowerShell 7
      Cmdlets
      Functions
      Pipeline

    Development
      VS Code
      PowerShell Extension
      ISE

    Modules
      PSGallery
      Custom Modules
      Manifest

    Testing
      Pester
      Mocking
      Coverage

    Automation
      DSC
      Remoting
      Scheduling

    Cloud
      Azure
      GitHub Actions
      Azure Automation

    Security
      JEA
      Code Signing
      SecretManagement
Loading

📖 Contents

Network Tools

Get-NetConnectionProfile 
Set-NetConnectionProfile -Name "NetworkName" -NetworkCategory Private #(Public)

Add a function

notepad $PROFILE
#if you got error:
New-Item -ItemType File -Path $PROFILE -Force
notepad $PROFILE

Adding function:

function ssh_remoteserver {
    ssh username@remoteserver
}

Apply immediately:

. $PROFILE
#if you got error:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
. $PROFILE

Useful PowerShell "aliases"

  • Quick directory listing (like ll in Linux):
    Set-Alias ll Get-ChildItem
  • Detailed directory listing
    function la { Get-ChildItem -Force }
    
  • Go up one directory
    function .. { Set-Location .. }
  • Go up two directories
    function ... { Set-Location ../.. }
  • Open current folder in Explorer:
    function open { explorer . }
  • Clear screen:
    Set-Alias c Clear-Host

My Awesome Lists

You can access the my awesome lists here

Contributing

Contributions of any kind welcome, just follow the guidelines!

Contributors

Thanks goes to these contributors!

🔼 Back to top

Contributors

Languages