Login / Register


Share Snipplr


Welcome To Snipplr


Everyone's Recent Windows PowerShell Snippets



« Prev 1 Next »
  1. FAV

    PowerShell: Rename directory items by regex

    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.
    Windows PowerShell saved by 1 person 5 views posted 3 years ago by evito
  2. FAV

    Backup Multiple MSSQL Databases Batch File

    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...
    Windows PowerShell 7 views posted 6 years ago by dimitrisdapontes
  3. FAV

    Comprobar puertos con PowerShell

    Windows PowerShell 8 views posted 8 years ago by crackiron
  4. FAV

    Check destinations of a list of links in a document for a string

    Windows PowerShell 7 views posted 8 years ago by danfsmith
  5. FAV

    Get All PDF links from HTML files

    Windows PowerShell 10 views posted 8 years ago by danfsmith
  6. FAV

    Copy Files by Date Modified

    Windows PowerShell saved by 4 people 9 views posted 8 years ago by danfsmith
  7. FAV

    Replace Content in HTML Files in a Folder

    Windows PowerShell 9 views posted 8 years ago by danfsmith
  8. FAV

    Get Title and MetaData from HTML files

    Windows PowerShell 10 views posted 8 years ago by danfsmith
  9. FAV

    Delete files in a directory tree matching a regex

    Windows PowerShell saved by 4 people 6 views posted 8 years ago by jarnaldich
  10. FAV

    Power-shell SharePoint 2010 Developer Dashboard

    activate the developer dashboard
    Windows PowerShell 5 views posted 8 years ago by nickaranz
  11. FAV

    Add Calendar View Web Part PowerShell Script

    Windows PowerShell 6 views posted 8 years ago by nickaranz
  12. FAV

    Run every Timer Job

    Windows PowerShell 5 views posted 9 years ago by scholli
  13. FAV

    Bildschirminhalt in Windows 7 drehen

    Windows PowerShell 2 views posted 9 years ago by simondiercks
  14. FAV

    Get File Version Information for dlls

    Windows PowerShell 1 views posted 9 years ago by michanne
  15. FAV

    Activate Developer Dashboard on Demand

    Windows PowerShell 1 views posted 9 years ago by scholli
  16. FAV

    Search and Replace regexp in subdirectories

    replace foo -> bar in all .txt files down the tree Dunno why, the syntax highlighter adds \3's to the code. Try plain text.
    Windows PowerShell 4 views posted 9 years ago by jarnaldich
  17. FAV

    Change Masterpage in SP 2010 via Powershell

    Windows PowerShell saved by 1 person 2 views posted 9 years ago by scholli
  18. FAV

    Retract and Uninstall SharePoint Solution via Powershell

    Windows PowerShell saved by 1 person 4 views posted 9 years ago by scholli
  19. FAV

    Add and install SharePoint 2010 Solution via Powershell

    Windows PowerShell saved by 1 person 3 views posted 9 years ago by scholli
  20. FAV

    Get SharePoint 2010 Version Number

    Alternative: Central Administration --> Upgrade and Migration --> Check product and patch installation status
    Windows PowerShell 5 views posted 9 years ago by scholli
  21. FAV

    Windows DIR - List only the filenames of all files in a directory

    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 )
    Windows PowerShell saved by 4 people 14 views posted 9 years ago by theonlyalterego
  22. FAV

    batch file duration caluculation

    Windows PowerShell saved by 1 person 3 views posted 9 years ago by simondiercks
  23. FAV

    Powershell - Replace multiple spaces with single spaces

    I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.
    Windows PowerShell saved by 2 people 5 views posted 10 years ago by ericmorin21
  24. FAV

    Create a textfile listing all paths to a certain file or wildcard.

    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...
    Windows PowerShell saved by 32 people 6 views posted 10 years ago by Vordreller
  25. FAV

    rename file with to current date

    Windows PowerShell 4 views posted 11 years ago by jleblanc
  26. FAV

    Delete all the Thumbs.db files on your drive

    Use this command to delete all the thumbs.db files on your drive.
    Windows PowerShell saved by 2 people 5 views posted 11 years ago by sachinbhavsar
« Prev 1 Next »