Showing archive results for February 2016

Feb 15, 2016
Post comments count1
Post likes count0

Migrate Windows CA from CSP to KSP and from SHA-1 to SHA-256: Part 1

Doctor Scripto

Summary: Thomas Rayner, Microsoft Cloud & Datacenter Management MVP, shows how to start the migration of a Windows certification authority from CSP to KSP and from SHA-1 to SHA-256. Hello! I’m Thomas Rayner, a proud Cloud & Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThoma...

Scripting Guy!Windows PowerShellguest blogger
Feb 14, 2016
Post comments count1
Post likes count0

PowerTip: Use PowerShell to add exclusion folder to Windows Defender

Doctor Scripto

Summary: Use Windows PowerShell to add an exclusion folder to Windows Defender.  How can I add the C:\temp folder to the exclusion list so it is not scanned by Windows Defender?  Use the Add-MpPreference cmdlet and specify the exclusion path, for example: Add-MpPreference -ExclusionPath "C:\Temp" Note  You must run Windows PowerShell with elevated...

Scripting Guy!Windows PowerShellPowerTip
Feb 14, 2016
Post comments count0
Post likes count0

PowerTip: Flush file system cache by using PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to forcibly write the file system cache to a drive.  How can I use Windows PowerShell to forcibly flush the volume cache by writing it to a drive?  Use the Write-VolumeCache cmdlet and specify the drive letter, for example: Write-VolumeCache c Note  There is no colon following the drive letter.

Scripting Guy!Windows PowerShellPowerTip
Feb 13, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to remove app package from image

Doctor Scripto

Summary: Use Windows PowerShell to remove an app package from a Windows image.  How can I use Windows PowerShell to remove an app package from a Windows image?  Use the Remove-AppxProvisionedPackage cmdlet, for example: Remove-AppxProvisionedPackage –Path c:\offline –PackageName MyAppxPkg

Scripting Guy!Windows PowerShellPowerTip
Feb 13, 2016
Post comments count0
Post likes count0

PowerTip: Fully format drive using PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to do a full format of a drive.  How can I use Windows PowerShell to do a full format of a drive?  Use the Format-Volume cmdlet and specify the -FullFormat parameter, for example: Format-Volume -DriveLetter C -FileSystem FAT32 -FullFormat –Force

Scripting Guy!Windows PowerShellPowerTip