When you first start writing scripts, modularity, reusability, and best practices may not be top of mind. As your scripts become more complex, however, creating reusable elements becomes essential. By ...
If you've been building PowerShell scripts for a while now you've surely came across instances where you need to reuse a particular snippet of code. Rather than copying and pasting that snippet of ...
The next time you need to wait on a step in your script, don't just add a delay. Instead, use a Wait-Action function to wait just the right amount of time. A script is all about defining a set of ...
How-To Geek on MSN
8 essential shell functions to improve your Linux command line
Once you’ve gained a solid understanding of Linux and mastered the various commands available, your next big win comes in the form of shell functions. Code wrapped in a function can be reused by your ...
XDA Developers on MSN
5 PowerShell best practices to work even more efficiently
PowerShell is a handy tool for troubleshooting network issues, automating tasks, managing configurations, or building ...
Last month, I explored exit codes and how decent error correction in your shell scripts always should include testing the value of $? after each meaningful command ...
Scripts are part of the foundation for efficient network administration. Network administrators are generally not programmers, but they need tools that will let them automate certain tasks and ...
Don Jones, TechMentor presenter and cochair, discusses some of his observations on how people are using PowerShell, and how they could do a better job. If you ever need to know more about PowerShell, ...
Last year, I wrote an article for Linux Journal titled "Building Your March Madness Bracket" My article was timely, arriving just in time for the "March Madness" college basketball series. You see, I ...
Dot sourcing can simplify large PowerShell scripts -- but without a clear structure, it can quickly lead to chaos.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results