---
title: "Discussion on \"Lesson learned while using Taskfile to invoke PowerShell command\" | Hashnode"
description: "Discussion on \"Lesson learned while using Taskfile to invoke PowerShell command\". Context\nI recently came across TaskFile and wanted to use it to automate some of my workflows, which underlying invokes PowerShell commands. However, I faced several errors while doing so, and this post is to reflect on it, and hopefully help myself ..."
url: "https://hashnode.com/posts/lesson-learned-while-using-taskfile-to-invoke-powershell-command/653fc8c9f7e562dd219a0202"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Lesson learned while using Taskfile to invoke PowerShell command](https://bwgjoseph.com/lesson-learned-while-using-taskfile-to-invoke-powershell-command?utm_source=hashnode&utm_medium=feed)

Context I recently came across TaskFile and wanted to use it to automate some of my workflows, which underlying invokes PowerShell commands. However, I faced several errors while doing so, and this post is to reflect on it, and hopefully help myself ...

Oct 30, 2023 · 4 min read · bwgjoseph.com  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)
-   [#taskfile](https://hashnode.com/tag/taskfile)
-   [#automation](https://hashnode.com/tag/automation)
-   [#scripting](https://hashnode.com/tag/scripting)

## Written by

[Joseph Gan](https://hashnode.com/@bwgjoseph)

@bwgjoseph · Singapore

  
[View profile](https://hashnode.com/@bwgjoseph)

Advocate for better developer's productivity and experience Documenting my learnings and sharing it

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
