[O365] List AD Users with a specific value for an ExtensionAttribute
Following my other post [ here ], I though to write a script to list all the users that have a certain value for ExtensionAttribute15 […]
Following my other post [ here ], I though to write a script to list all the users that have a certain value for ExtensionAttribute15 […]
This script updates the extensionattribute15 from AD for a list of specific users imported through a CSV file. So, here goes:
1 2 3 4 5 6 7 8 9 10 11 |
#Add value to ExtensionAttribute15 for CSV-imported Users #Import AD Modules Import-Module ActiveDirectory #Set up the job variables $csvfile="C:\ATTRIBUTES\usersATTR.csv" $csvData = Import-Csv $csvfile #Now iterate through the list to update the attribute with new value foreach ($line in $csvData) { Set-ADUser -Identity $line.USers -add @{'extensionAttribute15'='SyncToAAD'} } |
The import CSV […]
The below script will connect to the ContentDB for your specified webapp, then provide info on the total size of the ContentDB and on the […]
So, here goes the script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#APPFabric 1.1 Version Detector - Version 2.0 #Note: after installation, the default install log folder is: LOGS: C:\programdata\Microsoft\E-Business Servers Updates\Updates clear $version=(Get-ItemProperty "C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\DistributedCacheConfiguration\Microsoft.ApplicationServer.Caching.Configuration.dll" -Name VersionInfo).VersionInfo.ProductVersion Write-Host "AppFabric 1.1 CU Detector" switch ($version) { 1.0.4632.0 {"RTM Version 1.0.4632.0"} # WindowsServerAppFabricSetup_x64.exe 1.0.4639.0 {"#CU1 1.0.4639.0 - KB 2671763"} # AppFabric1.1-RTM-KB2671763-x64-ENU.exe 1.0.4644.0 {"#CU2 1.0.4644.0 - KB 2716015"} # 449784_ENU_x64_zip.exe 1.0.4652.2 {"#CU3 1.0.4652.2 - KB 2787717"} # 456413_ENU_x64_zip.exe 1.0.4653.2 {"#CU4 1.0.4653.2 - KB 2800726"} # 462228_ENU_x64_zip.exe 1.0.4655.2 {"#CU5 1.0.4655.2 - KB 2932678"} # AppFabric1.1-KB2932678-x64-ENU.exe 1.0.4656.2 {"#CU6 1.0.4656.2 - KB 3042099"} # AppFabric-KB3042099-x64-ENU.exe 1.0.4657.2 {"#CU7 1.0.4657.2 - KB 3092423"} # AppFabric-KB3092423-x64-ENU.exe 1.0.4658.2 {"HOTFIX 1.0.4658.2 - KB 319976 (Released after CU7)"} # AppFabric-KB3199763-x64-ENU.exe default {"Detected version is: $version - Unknown AppFabric 1.1 build. Please check on Technet"} } |
Copyright © 2024 | PhoeNIXBird Networks
Effects Plugin made by Ares Download