Skip to content

Instantly share code, notes, and snippets.

View bfocht's full-sized avatar

Bryan Focht bfocht

View GitHub Profile
param([string]$site=$(throw "Site argument is required."))
function vdir-exists([string]$name)
{
if((Test-Path -path $name) -eq $False)
{
return $False
}
(Get-Item $name).GetType().Name -eq "ConfigurationElement"