|
1 |
[crayon–6930c3e20a335132595441 inline=“true” ]$emailAddresses = (Get–ADUser –Filter {mail –like “*”} –SearchBase “OU=YourOU,DC=domain,DC=com” –Properties mail).mail |
[/crayon]
|
1 2 3 4 |
[crayon–6930c3e20a33a524708132 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.