Using Powershell we can export the output of the script or the data that you need into Excel .CSV file, this article explains how to write the output of any script into CSV file and how to import CSV file data into the script and perform the defined action. The Excel comma-separated value (CSV) file is a simple text file, Powershell easily reads … [Read more...] about Powershell export csv
Connect to SQL database server from Powershell
Connect to SQL database server from Powershell, when there is a need to use Powershell script to connect the database and validate something or run any other script then here is the simple Powershell code. If you want to test or connect and run a database query by using a Powershell script, yes, it is simple with the below code, you just need to … [Read more...] about Connect to SQL database server from Powershell
Powershell Restart Multiple Computers
When there is a need to restart a remote computer then there are several ways one can restart, however, this article explains an easy method using a single PowerShell command to restart multiple remote computers, let's get started. Restart-Computer This PowerShell command reboots the local computer or remote computers gracefully, it has got some … [Read more...] about Powershell Restart Multiple Computers
How to Check WiFi Status Connected or Disconnected
How to Check WiFi Status Connected or Disconnected on any windows computer, it's basic troubleshooting step to identify when there is an issue with network connection at home or office. When you are doing important work or working from home or paying bills online via mobile what if wifi connection drops suddenly, you lose the transaction or work … [Read more...] about How to Check WiFi Status Connected or Disconnected
How to Zip a file in Powershell
How to Zip files in Powershell, this article explains how one can zip the Powershell output, files, or logs and make them as archive somewhere for future use. When there are large files to zip or an application is generating log files every day or you want to archive Powershell reports that are not needed, in another case you want to compress the … [Read more...] about How to Zip a file in Powershell
Powershell Folder Permission
How to Export Folder Permissions as an Excel CSV file format and use it for comparison or any other purpose then here are the simple steps on how we can achieve it. System administrator as part of the daily tasks they work on folder operations like copying, moving and deleting the folders, when we have to maintain the same permission of source … [Read more...] about Powershell Folder Permission