Functions/PoShMon.Configuration/WebSite.ps1
Function WebSite { [CmdletBinding()] param( [hashtable]$WebsiteDetails = @{} ) if ($Script:PoShMon.ConfigurationItems.WebSite -eq $null) { $Script:PoShMon.ConfigurationItems.WebSite = @{} } else { throw "WebSite configuration group already created." } return @{ TypeName = "PoShMon.ConfigurationItems.WebSite" WebsiteDetails = $WebsiteDetails } } |