Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.
Community driven content discussing all aspects of software development from DevOps to design patterns. It’s pretty easy to run a batch file on Windows. Just create a file, change the extension to ...
Recently, I have been hard at work, creating some really complex PowerShell scripts related to a few projects that I have been working on. One of the big lessons that I have learned through all of ...
In my previous article in this series, I explained that you can make your PowerShell scripts far more flexible and dynamic by leveraging a configuration file as opposed to hard coding all of the ...
You can wrap an executable file around a PowerShell script (PS1) so that you can distribute the script as an .exe file rather than distributing a “raw” script file. This eliminates the need to explain ...
You need to package up a bunch of files, send them somewhere, and do something with them at the destination. It isn’t an uncommon scenario. The obvious answer is to create an archive — a zip or tar ...