Powershell scripts to help automate day to day task.
You can grab any script file and run it in powershell.
You might need to set execution policy
Set-ExecutionPolicy -ExecutionPolicy
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"
Import-Module .\SearchAndLaunch.ps1
Search-And-Launch -SiteToSearch SITENAME
Click on SearchAndLaunch.bat
Import-Module .\GetUpdatedFileList.ps1
Get-Updated-File-List -UpdatesPath PATH -NumberOfDays 1
Click on GetUpdatedFileList.bat
I am still learning powershell any advice?