Solved

Update user mobile numbers

Posted on 2014-11-10
2
129 Views
Last Modified: 2014-11-10
Please could somebody assist me in mass updating all mobile numbers on user accounts in our AD to "n/a" where the field is blank.

Thanks in advance!
0
Comment
Question by:antonioking
2 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40433111
get-aduser -filter * -properties MobilePhone | ? {! $_.MobilePhone } | set-aduser -MobilePhone 'n/a'

Open in new window

0
 

Author Closing Comment

by:antonioking
ID: 40433193
Thank you!
Worked perfectly
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question