Powershell
Contient les ressources Powershell pour windows.
Powershell - codes popup
Icons 16 – “stop mark” 32 – “question mark” 48 – “Exclamation mark” 64 – “Information mark” Butto...
Powershell - Conversion image/texte
#Convertir un fichier image en fichier texte. $FilePath = "C:\jumbor.jpg" $SaveTo = "C:\jumbor.tx...
Powershell - Créer / Modifier des variables d'environement
Pour créer une variable d’environnement temporaire : $env:<variableName> = "<value>" Pour créer u...
Powershell - Fonctions utiles
Get-AdminRights function Get-AdminRights(){#Check if script is launched with admin rights, else r...
Powershell - Journalisation windows
Par convention, nous utiliserons "PSAutomationEngine" comme nom de source. Créer une source d'évè...
Powershell - Stocker un mot de passe
Pour récupérer le mot de passe et le stocker dans un fichier : [string]$DestFile="$env:USERPROFIL...
Powershell - Secure winRM
I. Paramétrage du service Vérifier les listener : winrm e winrm/config/listener Vérifier l'état d...
Powershell - Template
<############################################################################ # Title : ...
Powershell - ressources microsoft
Verbes approuvés : Approved Verbs for PowerShell Commands - PowerShell | Microsoft Learn