Scripting - 10 comandi utili per gli amministratori di rete

Segno come promemoria alcuni comandi utili:

1) sfc /scannow


2) sigverif per verificare che tutti i file siano firmati digitalmente


3) driverquery


4) driverquery -v




driverquery -si
5) pathping 192.168.1.1 permette di trovare quale dei router intermedi bloccano il pacchetto
6) If a drive that is encrypted with BitLocker has problems, you can sometimes recover the data using a utility called repair-bde. To use this command, you will need a destination drive to which the recovered data can be written, as well as your BitLocker recovery key or recovery password. The basic syntax for this command is:
repair-bde   -rk | rp 
You must specify the source drive, the destination drive, and either the rk (recovery key) or the rp (recovery password) switch, along with the path to the recovery key or the recovery password. Here are two examples of how to use this utility:
repair-bde c: d: -rk e:\recovery.bek
repair-bde c: d: -rp 111111-111111-111111-111111-111111-111111

7) tasklist per vedere tutti i processi

tasklist -m permette di vedere le dll utilizzate da un processo


tasklist -svc