---
title: "Discussion on \"POWERSHELL: Get Path of Currently Executing Script\" | Hashnode"
description: "Discussion on \"POWERSHELL: Get Path of Currently Executing Script\". Another interesting scripting day for Powershell Kid and suddenly he is stuck at a simple problem. He can’t keep mentioning the full directory path every time explicitly in the script. Because, next minute if he moves the script to some other locatio..."
url: "https://hashnode.com/posts/powershell-get-path-of-currently-executing-script/64eb921128cee6c9bb7158c2"
---

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

Discussion

# [POWERSHELL: Get Path of Currently Executing Script](https://tech.anupamm.com/powershell-get-path-of-currently-executing-script?utm_source=hashnode&utm_medium=feed)

Another interesting scripting day for Powershell Kid and suddenly he is stuck at a simple problem. He can’t keep mentioning the full directory path every time explicitly in the script. Because, next minute if he moves the script to some other locatio...

Jul 25, 2014 · 2 min read · tech.anupamm.com  
Updated Nov 9, 2024  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)
-   [#path](https://hashnode.com/tag/path)
-   [#windows](https://hashnode.com/tag/windows)
-   [#scripting](https://hashnode.com/tag/scripting)
-   [#command-line](https://hashnode.com/tag/command-line)

## Written by

[Anupam Majhi](https://hashnode.com/@anupammajhi)

@anupammajhi · Bangalore, India

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

Tech Lead | DevOps, Cloud, FullStack, Data Science, Machine Learning, AI

A Tech Lead by profession, a Data Enthusiast and a forever learner. Experienced in DevOps, Cloud, FullStack Development, Data Science, Machine Learning and AI.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
