Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there online Powershell interpreter available on the Internet? I mean like trypython for Python programming language.
Full disclosure: I am the owner of Try It Online.
TIO Nexus has a Powershell interpreter as of a few days ago. It uses Powershell v6.0.0-alpha.13, which is the latest release of Powershell for Linux.
I've re-enabled these aliases – which conflict with POSIX utilities of the same name on *nix – to make the online interpreter more similar to Powershell on Windows. Powershell Core has only the aliases the developers deem fit for *nix.
Not that I know of, but PowerShell 3.0 has an installable web-based console that is a component of Windows Server. Full intellisense, the works. Very similar to the try* series. Download v3 and try it yourself.
Tutorialspoint offer an online PowerShell interpreter (amongst dozens of other programming environments) on their CodingGround site.
In reality, it's not a true PowerShell interpreter but a PASH shell, which is the Mono adaptation of Microsoft's scripting tool. Still, the syntax and standard cmdlets should be the same. However, you'll find it lacks or has different environment variables and other implementation-specific elements.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
can someone explain to me the differences between windows cmd and powershell?
from what I can see powershell supports similar syntax to macOS terminal and Linux shell...
so is it better to use powershell in order to learn only one shell syntax that I can use across all three operating software? and why windows support those two different types of shells?
thank you
CMD is just the built in shell in windows, from an older time. PowerShell is a full turing-complete language that can do many more things.
You're absolutely right that it works across multiple platforms as well. At some point, Windows decided to move PowerShell to open-source, and make things cross-platform. This started a bit before PowerShell 7, but it's really production ready with PowerShell 7 I'd say.
I would definitely sink more time into PowerShell, as most CMD commands work there anyway, but there's probably some level of opinion there as well.
Here's a good comparison
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
We are developing a product which is written in Java and invoking PowerShell scripts.
Our testing project combines JUnit and PowerShell scripts (thousands of lines).
In order to write scripts we are using another editor and than cut&paste the script to IntelliJ IDEA (and I am not talking about fixing broken scripts). Of-course it is a ridicules way to work.
Is there any plan to develop PowerShell plugin to IntelliJ IDEA?
For our team it is very important and useful.
Not yet, but there's an XML for syntax highlighting. Installation instructions at https://youtrack.jetbrains.com/issue/IDEABKL-6738#comment=27-2092679
Please voice your question in the JetBrains bug tracker - https://youtrack.jetbrains.com/issue/IDEABKL-6738
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need a patch utility which generates an exe file from the differences of 2 binaries. Then, end-users only need to run that exe file, point to the old version and apply patch.
I finally found it on my own. It's diablo2oo2's Universal Patcher - [dUP]
I've used xdelta or bsdiff before for very similar purposes. Unlike the standard diff tool, these tools will work properly with binary files. (As your post implies Windows, there are Windows ports available for each of these - or you can use Cygwin.)
These tools won't create a patching exe for you, however. You could still use these tools to get the difference of the binary files, then package everything into an exe to your requirements. I'm not personally and specifically aware of any tool that does all of what you're looking for - but I believe they exist, and most of them are probably commercial products - and giving specific product recommendations is off-topic for SO.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a source code beautifyer for PowerShell programs. Ideally, it would be CLI based, but any solution is acceptable. I would like to avoid configuring a generic pretty printer tool; I'd like a solution that works for PowerShell out of the box. Is there such a thing?
UPDATE: it's now on GitHub: https://github.com/DTW-DanWard/PowerShell-Beautifier
I wrote a PowerShell pretty printer / code cleaner in PowerShell. It cleans white space, indents code groups, replaces aliases with commands, fixes casing on commands, parameters, types, etc. You can use it to reformat a file in place or read a source file and output the result in a different file.
More info:
http://danspowershellstuff.blogspot.com/2012/03/powershell-pretty-printer-code-cleaner.html
Download page:
http://www.dtwconsulting.com/PS/Module_PrettyPrinterV1.htm
Let me know what you'd like to see changed/configurable/etc.
I don't know of any. However, PowerShell V2 exposes a PowerShell tokenizer you could build on: System.Management.Automation.PsParser
It might be interesting to do some "lint"-like checks, too.
For example, I think scripts should avoid using aliases that aren't marked ReadOnly, as users may have changed them. See Where are the default aliases defined in powershell? for some discussion.
Take a look at ScriptCop.
Props to Mike Shepard - I found this from his answer here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a portable Perl along the lines of portable Python? Something I could use (while learning the stuff) from my thumb drive?
Oh, and I'm talking about Window XP.
I can heartily recommend Strawberry Perl.
The Portable version is on Beta (the real meaning of Beta, though), click here to get it.
EDIT: The Portable version is already out of beta (for a few months now), check here
There's a test version over at PortableApps.com although it appears that long-term it will be replaced by Strawberry Perl (which is what it's based on).
I've deployed applications to hostile end user machines (i.e. machines I have no control over and no admin password) using Portable Strawberry Perl 5.10 with no problems. For development work in windows you might want this