Conserver l’historique du Presse papiers sur Windows
Paramètres \ Système \ Presse-papiers \ Activer Historique du Presse-papiers
Touche Windows + V pour afficher l’historique
Possibilité de synchroniser les appareils
Commandes Powershell
Téléchargement d'un fichier avec Invoke-WebRequest
Invoke-WebRequest -Uri "<lien-du-fichier-a-telecharger" -OutFile "<chemin-vers-fichier-destination>"
Exemple: Invoke-WebRequest -Uri "https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi" -OutFile "C:\temp\PowerShell-7.4.6-win-x64.msi"
Source: https://www.it-connect.fr/comment-telecharger-des-fichiers-web-avec-powershell/
Téléchargement d'un fichier avec BITS, via HTTP(S)
Start-BitsTransfer -Source "https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi" -Destination "C:\temp\PowerShell-7.4.6-win-x64.msi"
Source: https://www.it-connect.fr/powershell-copier-des-fichiers-avec-bits/
Récupérer le numéro de licence Windows
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Le numéro est également récupérable dans la base de registre (regedit) sous HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
-> Dans le dossier SoftwareProtectionPlatform, recherchez l’élément appelé BackupProductKeyDefault.
J’aime ça :
J’aime chargement…