powershell script to change phone number in ad
$users = get-aduser -filter * -searchbase "OU=TestScript,OU=UK,OU=SomeDomain,DC=ad,DC=SomeDomain,DC=com"`
-Properties telephonenumber, mobile
foreach ($user in $users) {
#Make changes to phone number and place the results into variable $phoneupdate
$phoneupdate = ($Users.telephonenumber -replace "\(0\)", "" -replace "[^0-9,^+]", "")
Set-ADUser $user -add @{telephonenumber=$phoneupdate}
}
Also in C++:
- install sbt alpine
- redis download
- how do i see the list of packages installed on anaconda
- instalar docker compose ubuntu
- user.home linux
- Err:15 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80]
- cant download tree ubuntu windows 10
- mount drive raspi
- how to delete a file using powershell
- amazon linux 2 install stress
- git cleanup remove removed
- install bcrypt
- bash mysql query count get only number
- give exe install directory command line
- install admin lte in laravel
- mongoclient install ubuntu
- error gyp ERR! stack Error: not found: make
- how to find the oldest files git
- install dependencies react project material ui
- git add access rights for script
- unix if directory
- how to install ros package
- git clean fdx
- how to install deb file in kali linux