Login / Register


Share Snipplr


Welcome To Snipplr


Everyone's Recent Windows PowerShell Snippets



« Prev 1 Next »
Renames all the files in the working directory from given regex pattern, in this case removes a series of digits (e.g. \_0004\_) that Photoshop appends when exporting layers.
1 158 posted 3 years ago by evito
The following script is used to perform batch backup of MSSQL server databases. It also compresses the backups using RAR that should already be installed on the computer. It is easy to use it in Windows Scheduler, in order to arrange daily backups of...
0 112 posted 6 years ago by dimitrisdapontes
activate the developer dashboard
0 95 posted 9 years ago by nickaranz
replace foo -> bar in all .txt files down the tree Dunno why, the syntax highlighter adds \3's to the code. Try plain text.
0 114 posted 9 years ago by jarnaldich
Alternative: Central Administration --> Upgrade and Migration --> Check product and patch installation status
0 106 posted 9 years ago by scholli
I found this today and don't want too lose it. In windows the following command will create a text file named fileListing.txt which will contain a list of all the files in the current directory ( including fileListing.txt )
1 547 posted 9 years ago by theonlyalterego
I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.
1 343 posted 11 years ago by ericmorin21
First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I...
1 121 posted 11 years ago by Vordreller
Use this command to delete all the thumbs.db files on your drive.
2 124 posted 12 years ago by sachinbhavsar
« Prev 1 Next »