# Need help to automate the console input

**URL:** <https://forums.powershell.org/t/need-help-to-automate-the-console-input/16130>\
**Category:** PowerShell Help\
**Created:** [April 1, 2021, 5:10pm UTC](https://forums.powershell.org/t/need-help-to-automate-the-console-input/16130 "2021-04-01T17:10:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [April 1, 2021, 6:47pm UTC](https://forums.powershell.org/t/need-help-to-automate-the-console-input/16130/2 "2021-04-01T18:47:18Z")

</div>

Welcome to the forums.

When you post code, error messages, sample data or console output format it as code, please.

Here you can read how that works:

> [@Guide to Posting Code - Redux](https://forums.powershell.org/t/guide-to-posting-code-redux/15797):
>
> Discourse uses [Markdown](https://www.markdownguide.org/getting-started/) for text formatting. There is a reference sheet and quick tutorial here: [Markdown Reference](https://commonmark.org/help/) You can produce in-line code formatting by wrapping your code in backticks (`). For example, `Get-ChildItem` produces Get-ChildItem. For larger code blocks, place a line containing three backticks above and below your code. For example ``` # 256-Color Foreground & Background Charts echo “`n$esc[1;4m256-Color Foreground & Background Charts$esc[0m” foreach ($fgbg in 38,48) { #…

You can go back and edit your existing post. You don’t have to create a new one. 😉

Thanks in advance.

Now to your actual question:

If it’s about automating a task I’d recommend to use a scheduled task and set it up to run the task using the needed credentials to accomplish the tasks. You could even allow other users with less privileges to run this task. 😉

---

_[View the full topic](https://forums.powershell.org/t/need-help-to-automate-the-console-input/16130)._
