PowerShell

Add the application as a service at Windows Server

You can add the service with PowerShell. New-Service and Get-service are available in PowerShell 5, for ‘Remove-Service’ PowerShell >= 6 required. Otherwise you can use ‘sc.exe DELETE MyMegaServiceApplication’. You should execute it with as an administrator. Not any application you can start a service. As a .Net developer, I usually create .Net solutions, in this […] Read more»

Windows

Set Windows Defender exclusions with PowerShell

To exclude folders, files or file extensions in scanning by Windows Defender, you can use PowerShell. It’s recommended to use by administrators. With this PowerShell script (command) you can easily set exclusion for the Windows Defender. It is useful sometime and help to improve the performance. Read more»

Windows

Flush Blob cache in SharePoint

SharePoint 2016 Logo

To flush blob cache on SharePoint servers you should execute a PowerShell script on each front end server. Blob cache is set on each front-end server in a farm, that is why you have to do this way. Read more»

SharePoint

Popular Posts