Skip to content

Instantly share code, notes, and snippets.

View PaulNichols's full-sized avatar

Paul Nichols PaulNichols

  • Australia
View GitHub Profile
@PaulNichols
PaulNichols / Windows Defender Exclusions VS 2019.ps1
Created September 10, 2020 10:12 — forked from Braytiner/Windows Defender Exclusions VS 2019.ps1
Adds Windows Defender exclusions for Visual Studio 2019
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\source\repos') > $null
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio Services') > $null
$pathExclusions.Add($userPath + '\AppData\Local\GitCredentialManager') > $null
@PaulNichols
PaulNichols / RenameCSharpProject.ps1
Created January 18, 2017 23:30 — forked from dadhi/RenameCSharpProject.ps1
PowerShell script to rename C# Project.
<#
PowerShell script to rename C# Project step-by-step:
* Copying project folder to folder with new project name
* Renaming .csproj file and other files with project name
* Changing project name reference in .sln solution file
* Changing RootNamespace and AssemblyName in .csproj file
* Renaming project inside AssemblyInfo.cs
#>
param(
[parameter(