Skip to content

Instantly share code, notes, and snippets.

@CallMarl
Last active April 16, 2020 16:23
Show Gist options
  • Save CallMarl/997bb9e31e2cd12b4cba7d1804f4c41b to your computer and use it in GitHub Desktop.
Save CallMarl/997bb9e31e2cd12b4cba7d1804f4c41b to your computer and use it in GitHub Desktop.
Powershell Usual tools
# Documentation link:
# https://docs.microsoft.com/fr-fr/powershell/
# Update the help dictionnary (run as administator)
Update-Help
# Display helpping information about the commande.
Get-Help commande
# Import downloaded module
Import-Module C:/Path/to/cmdlt.ps1
# Gets modules that have been imported into the current session
Get-Module
# Gets all modules currently installed (but without currently imported in session)
Get-Module -ListAvailable
Get-Module -ListAvailable -All
# Get all the modules command
Get-Command -Module module_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment