• Hallo Gast!
    Noch bis zum 10.05. kannst Du an unserer Hardwareluxx Hardware-Umfrage 2026 teilnehmen! Als Gewinn verlosen wir unter allen Teilnehmern dieses Mal ein Notebook für bis zu 1.800 EUR - über eine Teilnahme würden wir uns sehr freuen!

Wie überwacht ihr eure Backup Platten?

zentiirish

Neuling
Thread Starter
Mitglied seit
01.05.2026
Beiträge
17
HalliHallo,

hab da mal eine frage, kaufe regelmäßig alle 2 Jahre eine noch grössere Festplatte da ich Angst habe das eine USB Festplatte den Geist aufgibt. Ich bin schon etwas älter und ich nutze PCs , Handy schon seit meiner Jugend was schon sehr sehr sehr lange her ist. Im laufe der Zeit haben sich viele Urlaubsbilder, Tierbilder, Bilder, Videos, Musik usw angesammelt. Ja Musik braucht man heut zu tage ja kaum noch weil es soviel Streaming Dienste gibt jedoch habe ich meine gekaufen damals alle als MP3 gespeichert ect. Naja jedenfalls sind das alles unmengen an TB die sich da angesammelt haben. Nun möchte ich mir nicht ständig ne neue Platte kaufen was ja ein Teures Vergnügen ist daher würde ich gerne wissen, wie Ihr das so macht? Kann man eine Festplatte auf Ihren Zustand überwachen lassen?

Habe mir dazu das Tool "Check Drive" von Abelsoft gekauft. Dort stehen aber bei einigen Platten "Smart Daten nicht Verfügbar" selbst bei meinen SSD WD Black SN850X 2000GB. Was sind diese Smart Daten? muss man die Aktivieren oder haben das einfach nicht alle Festplatten? Weil bei meiner WDC WD100EFAX-68LHPNO steht nicht Smart Daten nicht Verfügbar und habe auch einen Button "Smart"

Hab leider nicht soviel Ahnung von der ganzen Merterie so das ich langsam beginne hier im Forum dies und das zu fragen :-)

Wäre total nett wenn Ihr mir eure Tips, Erfahrungen posten könntet.

Vielen Dank.


Gruss
 
Wenn Du diese Anzeige nicht sehen willst, registriere Dich und/oder logge Dich ein.
Hole dir CrystalDiskInfo. Damit überwache ich alle meine Festplatten unter Windows. Es meldet dir automatisch, wenn was nicht stimmt. Es kann noch viel mehr, doch die Grundfunktion reicht für einen Laien völlig aus.
 
Dieses Programm habe ich auch. Kann man das im Hintergrund laufen lassen also so das es unten neben der Uhr nur zu sehen ist? wie heisst das Teil eigentlich da wo der Pfeil ist "Ausgeblendete Symbole einblenden.

Edit: Anbei noch eine frage. Gibts es mitlweile ein Tool was die Festplatte sauber auslesen tut also ein Inhaltsverzeichnis? mein Problem ist wenn mal eine Platte kaputt geht weiss ich nicht was dort drauf war. Würde mir gerne ein Inhaltsverzeichnis erstellen lassen.

Hatte früher mal danach gesucht aber da gabs nix ausser man hat sich da irgendwie so ein Script gebastelt.
 
Zuletzt bearbeitet:

Markdown (GitHub flavored):
The user is asking for a PowerShell script that:
1. Lists all disk drives
2. Allows selection of a drive
3. Uses the tree command to show folder/file structure
4. Exports the structure to a file

This is a straightforward coding request for a PowerShell script. I don't need to use any tools for this - it's a standard development task that doesn't require web search or current information. I can write this from my knowledge of PowerShell.

Let me create a script that:
- Gets all drives using Get-PSDrive or Get-Volume
- Displays them in a menu
- Allows user selection
- Uses tree command to get the structure
- Exports to a file

I'll provide a clean, well-commented script.Here's a PowerShell script that lists all drives, lets you select one, and exports the folder structure using the tree command:

```powershell
# Get all drive letters
$drives = Get-PSDrive -PSProvider FileSystem | Where-Object { $_.Root -match '^[A-Z]:' }

if ($drives.Count -eq 0) {
    Write-Host "No drives found." -ForegroundColor Red
    exit
}

# Display available drives
Write-Host "`nAvailable Drives:" -ForegroundColor Green
for ($i = 0; $i -lt $drives.Count; $i++) {
    Write-Host "$($i + 1). $($drives[$i].Name) ($($drives[$i].Root))"
}

# Get user selection
$selection = Read-Host "`nSelect a drive number"

# Validate selection
if ($selection -match '^\d+$' -and [int]$selection -ge 1 -and [int]$selection -le $drives.Count) {
    $selectedDrive = $drives[[int]$selection - 1].Name
    $drivePath = "$selectedDrive`:"
 
    # Define output file path
    $outputFile = "$env:USERPROFILE\Desktop\${selectedDrive}_structure.txt"
 
    Write-Host "`nGenerating folder structure for $drivePath..." -ForegroundColor Cyan
 
    try {
        # Run tree command and export to file
        tree $drivePath /F | Out-File -FilePath $outputFile -Encoding UTF8
        Write-Host "Successfully exported to: $outputFile" -ForegroundColor Green
    }
    catch {
        Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
    }
} else {
    Write-Host "Invalid selection." -ForegroundColor Red
}
```

## How it works:

- **Gets all drives** using `Get-PSDrive` and filters for file system drives
- **Displays a numbered menu** of available drives
- **Prompts for selection** and validates the input
- **Runs tree command** with `/F` flag (to list files and folders)
- **Exports to a text file** on your Desktop with a name like `C_structure.txt`

## Customization options:

You can modify the tree command with these flags:
- `/A` — Use ASCII characters instead of box-drawing characters
- `/S` — Show file sizes
- `/D` — Show file dates and times
- `/C` — Sort by file type (extension)

For example, change the tree line to:
```powershell
tree $drivePath /F /A /S | Out-File -FilePath $outputFile -Encoding UTF8
```

You can also change the output file location by editing the `$outputFile` variable to save somewhere else instead of the Desktop.

Code:
# Get all drive letters
$drives = @(Get-PSDrive -PSProvider FileSystem | Where-Object { $_.Root -match '^[A-Z]:' })

if ($drives.Count -eq 0) {
    Write-Host "No drives found." -ForegroundColor Red
    exit
}

# Display available drives
Write-Host "`nAvailable Drives:" -ForegroundColor Green
for ($i = 0; $i -lt $drives.Count; $i++) {
    Write-Host "$($i + 1). $($drives[$i].Name) ($($drives[$i].Root))"
}

# Get user selection for drive
$selection = Read-Host "`nSelect a drive number"

# Validate drive selection
if ($selection -match '^\d+$' -and [int]$selection -ge 1 -and [int]$selection -le $drives.Count) {
    $selectedDrive = $drives[[int]$selection - 1].Name
    $drivePath = "$selectedDrive`:"
   
    # Display filter options
    Write-Host "`nWhat would you like to display?" -ForegroundColor Green
    Write-Host "1. Folders only"
    Write-Host "2. Files only"
    Write-Host "3. Both folders and files"
   
    $filterSelection = Read-Host "`nSelect an option"
   
    # Validate filter selection
    if ($filterSelection -match '^[1-3]$') {
        # Define output file path
        $outputFile = "$env:USERPROFILE\Desktop\${selectedDrive}_structure.txt"
       
        Write-Host "`nGenerating structure for $drivePath..." -ForegroundColor Cyan
       
        try {
            # Get items and filter based on user selection
            $items = Get-ChildItem -Path $drivePath -Recurse -Force -ErrorAction SilentlyContinue
           
            switch ($filterSelection) {
                "1" { $items = $items | Where-Object { $_.PSIsContainer -eq $true } }
                "2" { $items = $items | Where-Object { $_.PSIsContainer -eq $false } }
                "3" { }  # Keep all items
            }
           
            # Export to file
            $items | Select-Object -Property FullName | Out-File -FilePath $outputFile -Encoding UTF8
           
            Write-Host "Successfully exported to: $outputFile" -ForegroundColor Green
        }
        catch {
            Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
        }
    } else {
        Write-Host "Invalid selection." -ForegroundColor Red
    }
} else {
    Write-Host "Invalid selection." -ForegroundColor Red
}

Sieht soweit gut aus.
 
Zuletzt bearbeitet:
Hardwareluxx setzt keine externen Werbe- und Tracking-Cookies ein. Auf unserer Webseite finden Sie nur noch Cookies nach berechtigtem Interesse (Art. 6 Abs. 1 Satz 1 lit. f DSGVO) oder eigene funktionelle Cookies. Durch die Nutzung unserer Webseite erklären Sie sich damit einverstanden, dass wir diese Cookies setzen. Mehr Informationen und Möglichkeiten zur Einstellung unserer Cookies finden Sie in unserer Datenschutzerklärung.


Zurück
Oben Unten refresh