Skip to content
Search Gists
Search Gists
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
MuhammadSulaiman001
/
pwsh.md
Created
June 16, 2024 05:21
Show Gist options
Download ZIP
Star
0
(
0
)
You must be signed in to star a gist
Fork
0
(
0
)
You must be signed in to fork a gist
Embed
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
Learn more about clone URLs
Clone this repository at <script src="https://gist.github.com/MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8.js"></script>
Save MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8 to your computer and use it in GitHub Desktop.
Code
Revisions
1
Embed
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
Learn more about clone URLs
Clone this repository at <script src="https://gist.github.com/MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8.js"></script>
Save MuhammadSulaiman001/e9f25e71f312af528ca2aad3ef4015d8 to your computer and use it in GitHub Desktop.
Download ZIP
Raw
pwsh.md
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
You can’t perform that action at this time.