#New-MobileDeviceMailboxPolicy -Name:"CDS-MobilePolicy" -AllowBluetooth:Allow -AllowBrowser:$true -AllowCamera:$true -PasswordEnabled:$true -AlphanumericPasswordRequired:$true -PasswordRecoveryEnabled:$true -MaxEmailAgeFilter:TwoWeeks -AllowWiFi:$true -AllowStorageCard:$true -AllowPOPIMAPEmail:$false -AllowNonProvisionableDevices:$false -AllowIrDA:$false -RequireDeviceEncryption:$true -RequireStorageCardEncryption:$true -AllowDesktopSync:$false -AllowRemoteDesktop:$false -AllowSimplePassword:$false -AllowUnsignedApplications:$false -AllowSMIMEEncryptionAlgorithmNegotiation:BlockNegotiation -AllowUnsignedInstallationPackages:$false -PasswordHistory:3 -DevicePolicyRefreshInterval: 00:00:30:00 -MaxPasswordFailedAttempts:5 -MaxInactivityTimeLock:00:15:00 -MinPasswordLength:5 -UNCAccessEnabled:$false -WSSAccessEnabled:$false -PasswordExpiration:45 -IsDefault $true -Confirm:$true #-ApprovedApplicationList:{}

Set-MobileDeviceMailboxPolicy -Identity:"CDS-MobilePolicy" -AllowBluetooth:Allow -AllowTextMessaging:$true -AllowBrowser:$true -AllowCamera:$true -PasswordEnabled:$true -AlphanumericPasswordRequired:$false -PasswordRecoveryEnabled:$false -MaxEmailAgeFilter:TwoWeeks -AllowWiFi:$true -AllowStorageCard:$true -AllowHTMLEmail:$true -AllowPOPIMAPEmail:$false -AllowNonProvisionableDevices:$false -AllowIrDA:$true -RequireDeviceEncryption:$true -RequireStorageCardEncryption:$false -AllowDesktopSync:$false -AllowRemoteDesktop:$false -AllowSimplePassword:$false -AllowUnsignedApplications:$false -AllowSMIMEEncryptionAlgorithmNegotiation:AllowAnyAlgorithmNegotiation -AllowUnsignedInstallationPackages:$false -PasswordHistory:3 -DevicePolicyRefreshInterval: 00:00:30:00 -MaxPasswordFailedAttempts:5 -MaxInactivityTimeLock:00:05:00 -MinPasswordLength:5 -UNCAccessEnabled:$false -WSSAccessEnabled:$false -PasswordExpiration:45 -IsDefault $false -AllowConsumerEmail:$false