1 |
[crayon–67ef06d60dbfb410464781 inline=“true” ]$emailAddresses = (Get–ADUser –Filter {mail –like “*”} –SearchBase “OU=YourOU,DC=domain,DC=com” –Properties mail).mail |
[/crayon]
1 2 3 4 |
[crayon–67ef06d60dbff852345908 inline=“true” ]# Increase the function capacity limit $session = Get–PSHostProcessInfo | ForEach–Object { $_.ProcessId } | Get–Process | Select–Object MainModule, Id $session | ForEach–Object { $pssession = Get–Process –Id $_.Id | Select–Object –ExpandProperty MainModule } $pssession.Module.DefineUnscopedNamespthe ace(“Function”)::SetMaximumFunctionCount(8192) |
[/crayon]
Sorry! The Author has not filled his profile.