I want to export the task list which has enabled Send e-mail when ownership is assigned in the list using PowerShell:
$ctx=Get-PnPContext
$Lists = Get-PnPList
$ctx.Load($Liss)
$ctx.ExecuteQuery()
foreach($List in $Lists){
$Email = $List.EnableAssignToEmail
$ctx.Load($Email)
$ctx.ExecuteQuery()
if($Email =$True){
Write-Host $Emai.Title
}
}