Browsing Category

PowerShell / CMD

11 posts

Auto Run PowerShell Script with Task Scheduler

Automation is king in today’s dynamic IT environments. Running PowerShell scripts with Task Scheduler is a vital skill set, particularly beneficial for system administrators to automate repetitive tasks and bolster efficiency with Windows Servers and clients. What is Task Scheduler? Task Scheduler is a built-in tool within the Microsoft Windows environment designed to simplify the
Read More

PowerShell Startup Scripts Using GPO

Windows Group Policy allows you to run various script files at a computer startup/shutdown or during user logon/logoff. You can use GPOs not only to run classic batch logon scripts on domain computers (.bat, .cmd, .vbs), but also to execute PowerShell scripts (.ps1) during Startup/Shutdown/Logon/Logoff.In modern versions of Windows, you can directly run logon/logoff PowerShell
Read More

How to Find Duplicate Files Using PowerShell

For one of the projects, I needed a PowerShell script to find duplicate files in the shared network folder of a file server. There are a number of third-party tools for finding and removing duplicate files in Windows, but most of them are commercial or are not suitable for automatic scenarios.Because files may have different
Read More