Skip to content

Powershell snippets for day to day web development task automation

License

Notifications You must be signed in to change notification settings

mayurhirlekar/powershell-automation

Repository files navigation

Automation

Powershell scripts to help automate day to day task.

Getting Started

You can grab any script file and run it in powershell.

Prerequisites

You might need to set execution policy

How to set execution policy

Set-ExecutionPolicy -ExecutionPolicy

Installing

Just to make sure script doesn't get blocked and execution policy is properly set

Unblock-File -Path "SearchAndLaunch.ps1"
Unblock-File -Path "GetUpdatedFileList.ps1"

Running the program

Search-And-Launch

Import-Module .\SearchAndLaunch.ps1
Search-And-Launch -SiteToSearch SITENAME
OR
Click on SearchAndLaunch.bat

Get-Updated-File-List

Import-Module .\GetUpdatedFileList.ps1
Get-Updated-File-List -UpdatesPath PATH -NumberOfDays 1

OR

Click on GetUpdatedFileList.bat

Coding style

I am still learning powershell any advice?

About

Powershell snippets for day to day web development task automation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published