# Powershell

Frends offers seamless integration with [PowerShell](https://learn.microsoft.com/en-us/powershell/), enabling you to effortlessly connect and automate data flows involving PowerShell.

Frends has tasks for performing all core PowerShell operations.

By leveraging Frends' task-based approach, you can configure and customize PowerShell integrations according to your specific requirements. Frends offers a wide range of tasks that facilitate integrations to a variety of systems and protocols.

## Use cases

Below you will find typical use cases for PowerShells and how they are implemented in Frends.

### Run a PowerShell script daily

By using the Schedule trigger with the [`RunScript`](https://docs.frends.com/tasks/tasks/powershell/runscript) task, we can create an integration that executes a PowerShell script on a daily basis at noon.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-6992214d7973058e82e1c2b61b990dd0d1ad6c54%2Fpowershell-run-script.svg?alt=media" alt=""><figcaption><p>Run script</p></figcaption></figure>

### Run a PowerShell command

By using the File trigger with the [`RunCommand`](https://docs.frends.com/tasks/tasks/powershell/runcommand) task, we can create an integration that executes a PowerShell command, when a file is inserted to a local folder.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-b195e9c65c983bb365e1d38afa0d522e9167d4a2%2Fpowershell-run-command.svg?alt=media" alt=""><figcaption><p>Run script</p></figcaption></figure>
