Skip to content

Instantly share code, notes, and snippets.

@MuhammadSulaiman001
Created June 16, 2024 05:21
Show Gist options
  • Save MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8 to your computer and use it in GitHub Desktop.
Save MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8 to your computer and use it in GitHub Desktop.
  • Run pwsh code block in .bat file, for example:
pwsh -Command "& {(get-item .).basename}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment