Afficher l'état des disques des serveurs Windows & Linux
- Windows 2012 où supérieur
- Navigateur web moderne par défault
- Autoriser l'exécution des scripts PowerShell (
Set-ExecutionPolicy Unrestricted -Force
)
Lancer la commande PowerShell suivante:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; iwr -useb https://raw.githubusercontent.com/Fl0wyn/MonDrive/master/scripts/install.ps1 | iex
Editer le fichier ListMonDrive.txt dans C:\Exploitation
en respectant le format suivant:
# Windows
SRV-1
SRV-2
# Linux
root@SRV-1 22 motDePasse
root@SRV-2 22 motDePasse
Valider une première fois les clés SSH pour chaques serveurs Linux
cd C:\Exploitation\MonDrive
.\pkink.exe -ssh root@SRV-1 22
.\pkink.exe -ssh root@SRV-2 22
Lancer l'applcation MonDrive.exe présent sur le bureau
Supprimer l'éxécutable C:\Windows\Temp\MonDrive-Update.exe
Supprimer le dossier C:\Exploitation\MonDrive et l'icône sur le bureau
Arrêter le serveur web si le dossier est en cours d'utilisation
Stop-Process -Force -Name "tiny"