ResourceDesignerScripts/GenerateDCPP-MiscellaneousDevicesSchema.ps1

<#
This is a Resource designer script which generates a mof schema for DCPP_POSTBehavior resource in DellBIOSProvider module.
 
 
#>


$category = New-xDscResourceProperty -name Category -Type String -Attribute Key
$microphone = New-xDscResourceProperty -name Microphone -Type String -Attribute Write -ValidateSet @("Enabled", "Disabled")
$camera = New-xDscResourceProperty -name Camera -Type String -Attribute Write -ValidateSet @("Enabled", "Disabled")
$harddrivefreefallprotection = New-xDscResourceProperty -name HardDriveFreeFallProtection -Type String -Attribute Write -ValidateSet @("Enabled", "Disabled")
$mediacard = New-xDscResourceProperty -name MediaCard -Type String -Attribute Write -ValidateSet @("Enabled", "Disabled")
$Password = New-xDscResourceProperty -Name Password -Type string -Attribute Write -Description "Password"
$SecurePassword = New-xDscResourceProperty -Name SecurePassword -Type string -Attribute Write -Description "SecurePassword"
$PathToKey = New-xDscResourceProperty -Name PathToKey -Type string -Attribute Write



$properties = @($category, $microphone, $camera, $harddrivefreefallprotection, $mediacard,$Password,$SecurePassword,$PathToKey)

New-xDscResource -ModuleName DellBIOSProviderX86 -Name DCPP_MiscellaneousDevices -Property $properties -Path 'C:\Program Files\WindowsPowerShell\Modules' -FriendlyName "MiscellaneousDevices" -Force -Verbose

# SIG # Begin signature block
# MIIbFQYJKoZIhvcNAQcCoIIbBjCCGwICAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDDZl8LO4rEL36V
# 9ilW73Nng0qhtEEND9eIp3S3+6Im86CCCiMwggTCMIIDqqADAgECAhANhLMrA8kb
# dRADSKysMihfMA0GCSqGSIb3DQEBCwUAMH8xCzAJBgNVBAYTAlVTMR0wGwYDVQQK
# ExRTeW1hbnRlYyBDb3Jwb3JhdGlvbjEfMB0GA1UECxMWU3ltYW50ZWMg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