Table des matières

Creer Profile PowerShell


Contrôle

Commande qui permet de contrôler si un profil est déjà présent

test-path $PROFILE

retour:

False

Il faudra en créer un qui se situera dans “c:Users\UserName\Documents\WindowsPowershell\”
Il aura comme nom: Microsoft.PowerShell_profile.ps1

Création

New-Item –Path $ Profile –Type de fichier –Force