Blog Archives

Powershell script to list last modified files in x days

Let’s say you want to list of files from directory which are modified in last 2 to 3 days with certain extensions. like I would like to list all php files from directory C:\development modified in last 2 days following

Tagged with: ,
Posted in PowerShell

Powershell script to connect to sql server

Sample Script This script provides easy variables to add server name, db name and your SQL query Save in notepad with a .ps1 extension Change the server name and query to desired value Save and run from a PowerShell prompt

Tagged with: ,
Posted in SQL Server
What people say about post?
seo hizmeti on Awesome wordpress ecommerce…

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 39 other followers