Bonsoir à tous ,
j'utilise Get-itemProperty pour retirer les infos sur les clés du registre ;
je voudrais juste supprimer les premières lignes non-necessaires de la sortie :
Code powershell : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
PS C:\Windows\system32> gp -path HKLM:\SOFTWARE\Agenda\2015\aout\31 -name "jour"
 
 
PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Agenda\2015\aout\31
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Agenda\2015\aout
PSChildName  : 31
PSDrive      : HKLM
PSProvider   : Microsoft.PowerShell.Core\Registry
jour         : lundi
Comment supprimer les lignes PS .... ?
Merci par avance.