# continue

*verb*

say it: **“kun-TIN-yoo”** **/kənˈtɪnju/**

A command that skips the rest of a loop's steps for this item and moves on to the next one.

## What does **continue** do in a PowerShell loop?

`continue` skips the rest of this pass of a loop, and the loop goes on with the next item. With an `if` in front, it passes over the items you don't want. Inside `ForEach-Object`, `return` does the same job.

```powershell
foreach ($song in Import-Csv playlist.csv) {
    if ($song.Liked -eq 'no') { continue }
    $song.Title
}
# Night Launch
# Solar Wind     (Static Again was skipped)
# ...
```

## In a sentence

- “**continue** passes over every song Sam hasn't liked.”
- “In the log reader, **continue** skips the note lines that start with #.”

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 10, 2026

## In other subjects

- [continue in C#](https://www.ask-codey.com/glossary/continue-c-sharp)
- [continue in Java](https://www.ask-codey.com/glossary/continue-java)
- [continue in JavaScript](https://www.ask-codey.com/glossary/continue-javascript)
- [continue in Python](https://www.ask-codey.com/glossary/continue)
- [continue in Unix](https://www.ask-codey.com/glossary/continue-unix)

Source: https://www.ask-codey.com/glossary/continue-powershell
