Magic Quadrant™ per la gestione degli accessi privilegiati 2025: Netwrix riconosciuta per il quarto anno consecutivo. Scarica il report.

Piattaforma
Centro risorseGuida pratica
Come ottenere l'inventario dei server attraverso la tua rete

Come ottenere l'inventario dei server attraverso la tua rete

Netwrix Auditor per Windows Server

  1. Esegui Netwrix Auditor → Vai alla sezione "Rapporti" → Espandi la sezione "Windows Server" → Vai a "Windows Server – State-in-Time" → Seleziona "Dettagli Configurazione Windows Server" → Clicca su "Visualizza".
  2. Per salvare il rapporto, clicca sul pulsante "Esporta" → Scegli un formato dal menu a tendina → Clicca "Salva".
Image

Scopri di più su Netwrix Auditor for Windows Server

Auditing Nativo

  • Crea un file contenente l'elenco dei computer → Apri Powershell ISE → Esegui lo script seguente, regolando il percorso per l'esportazione:
      #Start PSRemoting.
Invoke-Command -ComputerName (Get-Content C:\data\computers.txt) -scriptblock {

#Run the commands concurrently for each server in the list
$CPUInfo = Get-WmiObject Win32_Processor #Get CPU Information
$OSInfo = Get-WmiObject Win32_OperatingSystem #Get OS Information

#Get Memory Information. The data will be shown in a table as GB, rounded to the nearest second decimal.
$PhysicalMemory = Get-WmiObject CIM_PhysicalMemory | Measure-Object -Property capacity -Sum | % {[math]::round(($_.sum / 1GB),2)}

#Get Network Configuration
$Network = Get-WmiObject Win32_NetworkAdapterConfiguration -Filter 'ipenabled = "true"'

#Get local admins.
$localadmins = Get-CimInstance -ClassName win32_group -Filter "name = 'administrators'" | Get-CimAssociatedInstance -Association win32_groupuser

#Get list of shares
$Shares = Get-WmiObject Win32_share | Where {$_.name -NotLike "*$"}
$infoObject = New-Object PSObject

#Add data to the infoObjects.
Add-Member -inputObject $infoObject -memberType NoteProperty -name "ServerName" -value $CPUInfo.SystemName

Add-Member -inputObject $infoObject -memberType NoteProperty -name "CPU_Name" -value $CPUInfo.Name

Add-Member -inputObject $infoObject -memberType NoteProperty -name "TotalMemory_GB" -value $PhysicalMemory

Add-Member -inputObject $infoObject -memberType NoteProperty -name "OS_Name" -value $OSInfo.Caption

Add-Member -inputObject $infoObject -memberType NoteProperty -name "OS_Version" -value $OSInfo.Version

Add-Member -inputObject $infoObject -memberType NoteProperty -name "IP Address" -value $Network.IPAddress

Add-Member -inputObject $infoObject -memberType NoteProperty -name "LocalAdmins" -value $localadmins.Caption

Add-Member -inputObject $infoObject -memberType NoteProperty -name "SharesName" -value $Shares.Name

Add-Member -inputObject $infoObject -memberType NoteProperty -name "SharesPath" -value $Shares.Path

$infoObject
} | Select-Object * -ExcludeProperty PSComputerName, RunspaceId, PSShowComputerName | Export-Csv -path C:\data\Server_Inventory_$((Get-Date).ToString('MM-dd-yyyy')).csv -NoTypeInformation
      
  • Apri il file prodotto dallo script in MS Excel.
Image

Raccogli l'inventario dei server per rilevare deviazioni da una baseline conosciuta come valida

Per assicurarti di avere una comprensione accurata delle tue risorse critiche, hai bisogno di un inventario hardware completo e aggiornato e di un inventario software approfondito che includa quali server Windows hai nel tuo dominio, quale versione del sistema operativo è in esecuzione su di essi (come Windows Server 2012 o Windows Server 2008) e se sono ben protetti da attacchi esterni. Uno script PowerShell per raccogliere l'inventario dei server può aiutarti ad ottenere un elenco di server. Tuttavia, raccogliere tutti i dettagli importanti e produrre un rapporto utile richiede tempo, impegno e una solida conoscenza di PowerShell.

Netwrix Auditor for Windows Server fornisce tutti i dettagli di cui hai bisogno su tutti i server della tua organizzazione in un unico rapporto completo e di facile lettura, che puoi facilmente esportare in un file CSV e utilizzare in Excel, o in un file PFD. Il rapporto è ricco di informazioni come il nome e la versione del sistema operativo installato su ciascun server e lo stato dell'antivirus. Basta applicare dei filtri al rapporto per rilevare qualsiasi deviazione dalla tua baseline corretta, così puoi immediatamente agire per rafforzare la sicurezza dei tuoi computer e dei dati.

Condividi su