For Loop in DOS Batch

In batch scripting, you can use a for loop to iterate over a set of values or files. The for loop in batch files has different variations, such as for /F, for /R, and for %%variable. I’ll show you an example of a basic for loop using the for %%variable syntax.

Using @ in Batch Files

In a batch file, the at sign (@) is used as a prefix before a command to suppress its output from being displayed on the console. When a command is prefixed with an at sign, only the output generated by the command is hidden, while the command itself is still executed.

Using PowerShell to Work with Group Policy

Windows Group Policy is a powerful tool that enables administrators to manage and configure settings for users and computers in a network environment. PowerShell, on the other hand, is a command-line shell and scripting language that is built on the .NET framework. By using PowerShell, administrators can interact with Windows Group Policy and automate common tasks. In this… Read More »

Be Balanced, SysAdmin

Balancing system administration workload and priorities in a dynamic and changing context requires a combination of skills, tools, and strategies. Here are some tips to help you:

Using the Pipeline

PowerShell is a powerful scripting language that comes with Windows operating systems. One of its most useful features is the pipeline, which allows you to pass objects from one command to another. In this post, we’ll explore how to use the PowerShell pipeline to make your scripts more efficient and powerful.

Make it Pretty with ConvertTo-HTML

In this blog post, we’ll cover the basics of using the ConvertTo-HTML cmdlet in PowerShell. This cmdlet allows you to convert PowerShell objects into HTML format, making it easy to generate reports and visualizations of your data. First, let’s start with some basics. PowerShell objects are the output of cmdlets or functions in PowerShell. These objects can be… Read More »

9 Infection Warning Signs

There are currently over 78,000 Spyware and Adware programs on the Internet that can affect your PC. Here are 9 warning signs you should be aware of, if any of them pertain to you then your PC is most likely infected:

Don’t Stay Comfortable

I have observed a recurring pattern among IT professionals, such as programmers, network engineers, and administrators. They land a great job with a good salary, become complacent, and stop keeping up with the latest technologies and industry certifications like CCNA, MCSE. Eventually, they lose their job, either due to layoff or company relocation, and find themselves in a… Read More »