Skip to content

Instantly share code, notes, and snippets.

$Item = Get-Content $args[0] | ConvertFrom-Json
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
$Item.locations | ForEach-Object {
Write-Output ($_.path + "\" + $Item.key)
if (Test-Path -LiteralPath ($_.path + "\" + $Item.key)) {
Remove-Item -LiteralPath ($_.path + "\" + $Item.key) -Recurse
@jcberquist
jcberquist / index.cfm
Created April 23, 2020 18:22
LDEV-2808
<cfscript>
ppct = new pagePoolClearTest();
ppct.test();
</cfscript>