Configue 900 iphone with iPCU

Hello,
I'm french:
J'ai besoin d'aide pour configurer 900 iphone avec l'Utilitaire de configuration iPhone( .mobileconfig ) pour une entreprise.
et j'ai 900 e-mail différant a mettre pour ces 900 fichier .mobileconfig
Je dois seulement changer sur les 900 .mobileconfig la ligne 15.
http://img713.imageshack.us/img713/9097/captures.png
Je me demande si il y a un moyen de les mettre plus vite, de le scripter ou autre ..
Cordialement.
With Google translator =) :
I need help setting up iphone with nine hundred Configuration Utility to iPhone (. Mobileconfig) for a business.
and I have 900 e-mail has to differ for the 900 file. mobileconfig
I'm the only change on the 900. Mobileconfig line 15.
http://img713.imageshack.us/img713/9097/captures.png
I wonder if there is a way to make faster, or else the script ..
Sorry for my bad english
thank you
Message was edited by: polzy
null
Message was edited by: polzy

Salut Polzy,
Si j'ai bien compris, tu as un fichier mobileconfig comme template et tu as envie de simplement remplacer "adresse électronique" par l'adresse de chaque user ?
a mon avis, si tu as tous les fichiers dans un répertoire, et les noms dans une base de données voir meme dans l'ad, tu peux utiliser aisément un mini script powershell pour faire ca.
*pour attaquer une base SQL :*
$SqlServer = "server_name"
$SqlCatalog = "database_name"
$SqlQuery = "query"
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "Server ="+$SqlServer+";Database ="+$SqlCatalog+";Integrated Security=True"
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = $SqlQuery
$SqlCmd.Connection = $SqlConnection
$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$SqlAdapter.SelectCommand = $SqlCmd
$DataSet = New-Object System.Data.DataSet
$SqlAdapter.Fill($DataSet) | out-null # avoid any return value
$SqlConnection.Close() | out-null # avoid any return value
+--> la variable $dataset est remplie par tes users+
*l'accès a l'ad se fait par :*
$root = [ADSI]'LDAP://ou=...'
$searcher = new-object System.DirectoryServices.DirectorySearcher($root)
$searcher.filter = "(&(objectCategory=user)(samaccountname=sam))"
$user = $searcher.findOne()
+la variable $user contient le user recherché+
et en faisant
--> $user.properties.mail
tu obtiens son adresse mail
*pour remplacer une valeur dans un fichier*
(Get-Content Full_path_of_mobileconfig_file) |
Foreach-Object {$_ -replace "Initial_value", "new_value"} |
Set-Content Full_path_of_mobileconfig_file
tu lies la new_value a l'adresse mail personnalisé
et tu répètes sur tous les fichiers du répertoire :
PathFile = Get-ChildItem -Path "full_path_to_access_folders
J'ai fait un peu différemment pour mes users. je lance l'ipcu en ligne de commande en passant comme argument un fichier cs, décrit dans les guides et je change a cette endroit les différentes balises. a l'ouverture de l'ipcu tous les champs seront préremplis et je dois juste faire export
il semble ne pas y avoir d'autre moyen de générer le .mobileconfig
(nous avons un certificat personnel avec clé privé pour les mails) impossible a injecter directement dans le .mobileconfig

Similar Messages

  • How do I use your iPhone with multiple iTunes libraries

    Hi, I have my music spread out between 3 seperate Itunes libraries on 3 different profiles on my computer. I have the newest generation Ipod Nano, Ipod Shuffle, and Iphone 4s. My Ipod's are both full, so I've decided to start putting music onto my phone. With my Ipod's, I can plug them into one profile on the computer, download the music on the Itunes library that exists on that profile, then do the same with the other profiles with no issue. However when I try to do this with my phone, It asks me to erase the music I have gotten from one Itunes library and sync with the current library, as soon as I plug it in to a different Itunes on one of the other profiles. I have my Iphone configured with the Manually manage music option, and I still haven't found a way to use my Iphone with multiple music libraries. PLEASE HELP

    http://support.apple.com/kb/PH12113 - If you use manual syncing, you can sync items from more than one iTunes library to your iPod. (You can sync iPod touch, iPhone, and iPad with only one iTunes library.)
    http://support.apple.com/kb/HT1202 - When manually managing content, you can add content from multiple libraries to your iPod or iPad. Even when manually managing music, some content may be available from only one library at time. This includes all content on iPhone and video content on iPod and iPad.
    They seem inconsistent as far as the iPad is concerned but in both articles the iPhone appears to only be able to sync to one library at a time.
    Troubleshooting Home Sharing - http://support.apple.com/kb/TS2972

  • How do I resync a song manually deleted on iPhone with 'swipe to delete'?

    I accidently deleted a song while browsing music on my iPhone (with the swipe to delete function) and now I am not able to resync the song back onto the phone even though it's still happily there in iTunes on my iMac.
    I've tried explicitly adding it to a playlist that enforces a sync to the iPhone and I can actually see iTunes telling me that it's syncing it to the phone, however it still doesn't show up when on the phone - so I guess the iPhone is somehow remembered the delete operation and is hiding it from me?
    Does anyone know how I might get this song showing back up on my iPhone???
    Any help greatly appreciated!
    Thanks,
    Andy

    It depends on which country that you are in as to whether you can re-download it - it's not currently possible in all countries (what you can re-download, and where, is listed on this page). If you can re-download music then it should appear in the Purchased section under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes, and the Purchased tab at the bottom of the iTunes app on the iPad : re-downloading

  • TS4488 When i add new songs to a playlist and sync my iphone with itunes 11 the newly added songs don't show up in the playlist on my phone. how do i fix this?

    How do i sync the playlist on to my iphone with Itunes 11.

    Ryan
    You may be better off posting in the iTunes or iPhone fora.
    Regards
    Jules

  • Synced iphone with my macbook pro, can find the voice memos, help!!

    i synced my iphone with my macbook pro, checked the voice memos option and after syncing was complete (it backed up iphone in the process), i didn't see any new playlist called voice memos on my itunes!! did i lose my voice memos? where did they go? i didn't delete anything from either the phone or the computer.TIA!! on the phone, i don't see the memos too!! anyone has any idea?

    iTunes automatically syncs voice memos to your iTunes library when you connect iPhone to your computer. Voice memos are synced to the Voice Memos playlist. iTunes creates the playlist if it doesn’t exist. When you sync voice memos to iTunes, they remain in the Voice Memos application until you delete them. If you delete a voice memo on iPhone, it isn’t deleted from the Voice Memos playlist in iTunes. However, if you delete a voice memo from iTunes, it is deleted from iPhone the next time you sync with iTunes.
    You can sync the iTunes Voice Memos playlist to the iPod application on iPhone using the Music pane in iTunes.
    To Sync the Voice Memos playlist to iPhone:
    1. Connect iPhone to your computer.
    2. In iTunes, select iPhone in the sidebar.
    3. Select the Music tab.
    4. Select the “Include voice memos” checkbox and click Apply.

  • How to get voice memo to computer, without sync u Iphone with pc library

    okay, what i want to find is how ( and there better be a way, couse i am ****** ), how can i get my voice memo from iphone to computer. I have a very important lecture recorded, the issue is that now i am using a different laptop and my iphone is not sync with my new laptop's itunes library.
    I was using itunes 9.1 or smth, and when i first connected my iphone, after recording memo ( to my new laptop ) it wrote a new voice memo is detected or something do you want to copy it, i pressed yes, and it copied the voice memo, i listened to it and then i deleted it, because i thought that the sound quality was better listening on iphone through the headphones then on laptop, but now i need to mail, that voice memo to my friend. That lecture is an hour long so i can't mail through iphone or mms, and when i connect my iphone to itunes the lecture does not appear as new and it doesn't offer to copy it to pc. So is there anyway to get the voice memo to my pc. ( i tried deleting itunes and reinstalling, because i thought, that maybe the reinstalled itunes would detect the voice memo as new, but it didn;t ( **** you apple with your leftovers ... )
    Anyway, i really need help with this, hope apple technical staff will be able to answer it, though i doubt they will ...
    Anyway, any help is appreciated, thank you in advance guys.
    p.s. i can't sync my iphone with new laptop's itunes library because voice memo would be deleted then.
    Please help
    Message was edited by: Kipras
    Message was edited by: Kipras

    You'll need to use third party software to extract the voice memo from your phone. You are correct in that since you deleted the memo from your itunes library, it will be deleted from your phone if you do sync:
    http://www.wideanglesoftware.com/touchcopy/index.php

  • I have itunes set up on a PC with all my music, apps, etc. I want to stop using PC and move my iTunes and files to a Mac I bought and synch my iPhone with the Mac. Can I just synch iPhone with Mac iTunes and will it copy all my stuff onto Mac, or will I h

    I have itunes set up on a PC with all my music, apps, etc. I want to stop using PC and move my iTunes and files to a Mac I bought and synch my iPhone with the Mac. Can I just synch iPhone with Mac iTunes and will it copy all my stuff onto Mac, or will I have to copy files from PC onto Mac?

    Here are some of the links to get you started.
    https://discussions.apple.com/thread/3727530?start=0&tstart=0
    http://support.apple.com/kb/HT4527
    http://www.macworld.com/article/1146958/move_itunes_windows_mac.html

  • My fiance logged onto my iphone with his apple ID and now I can't switch it back to my username. How can I change it back to mine? ( but when I go to setting,icloud my un/pw are there)

    My fiance logged into my iphone with his apple ID and now I can't switch it back to my username. When I go to buy an app his username is in an editable format to beable to change it back to mine. How can I change it back to mine? (when I go to setting,icloud my un/pw are there) Can someone please help? Thanks!

    Had you looked in the User Guide, you would have found this:  Settings>Store.  Tap on AppleID to change.

  • Exchange Emails Not Showing Up On IPhone with Outlook Client Closed

    I have been trying to fix this problem and I want to see if anybody else has run across this issue and found the fix. I am having a problem accessing Exchange Emails from my work system, but only under the following scenario:
    1) When my work PC is powered on, logged in, and Outlook client is up and active I can send and receive emails on my IPhone with no problems and it correctly displays read and unread messages.
    but...
    2) When I close my Outlook client on my PC my IPhone is no longer able to retrieve new email messages. I have had this problem since first getting the 3G phone in August of '08 and it is has been updated with each firmware release but the problem persists.
    This is driving me crazy, any help or confirmation that others are experiencing the problem is much appreciated.
    Thanks.

    If you select one month for mail days to sync, only one month's worth will be synced and available - the last month which will be constantly changing to the most recent 30 days. Select No Limit for Mail Days to Sync.
    Show 1000 recent messages is for the selected mailbox only and if there are more than 1000 messages in a mailbox and you have one month for mail days to sync selected, if the last 30 days for the mailbox includes 100 messages, only 100 messages will be available.
    Are these additional server stored mailboxes separate mailboxes and what I mean by that is not sub-mailboxes for the Inbox mailbox?
    Since you have had this issue with other operating systems, the common denominator is your Hotmail account. Have you contacted Hotmail technical support regarding this issue you have had with other operating systems?
    All server stored mailboxes with an Exchange account should be available with the email client used to access the account. If all are not available when accessing the account as an Exchange account with an email client, something is wrong with your setup for these mailboxes at the server level.

  • I replaced my iPhone with a Galaxy 5 and am not receiving all of my text messages. The sales person told me to remove my phone number from iTunes to stop this from happening. Is that true? What does iTunes have to do with text messages?

    I replaced my iPhone with a Samsung Galaxy5 and I am not receiving all of my text messages now. The rep at the store told me to go to iTunes and take my phone # off of the account and that would fix the problem. Is that true? What does iTunes have to do with text messages anyway?

    You need to remove your phone number from the iMessage system.
    Read here: http://support.apple.com/kb/ts5185
    ~Lyssa

  • How do i sync my apple id on my iphone with updated icloud id

    How do i sync my apple id on my iphone with updated icloud id?

    Settings > iCloud.
    Delete the account the re-add with new AppleID.

  • I have a used Iphone with someone elses email on it for itunes, how do i remove it and put my account there

    I have a used Iphone with someone elses email on it for itunes, how do i remove it and put my account there
    It is an Iphone 4

    If you go to settings- store - click on the ID and sign out. Then you can put in your apple id.

  • How do I use an iPhone with an iMac and a MacBook Pro?

    I have an iMac, a MacBook Pro and an iPhone 4S. I will be travelling and would like to sync my iPhone with the iMac or MacBook, depending on where I am.  I am on the cloud and manage my music manually. I'd like to be able to sync and download app updates via iTunes. Currently I sync via the iMac, will I lose my music if I attempt to sync the iPhone with the MacBook?
    Thanks (and, yes, I know there is an obvious answer somewhere but I can't find it)
    Kron Dos

    I was afraid of that. That's why I posted the question before trying to sync and losing everything. Too bad as I just bought a MacBook Pro and would really like to have mirrored devices across the board. Either Appke's technology isn't up to it or they have some obscure secrecy reason to prevent it.
    Kron Dos

  • I have bought itunes songs on an ipad with my daughter apple id. i would like to back them up on the same computer I sync my iphone with using my apple id but they will not transfer. Both iphone and ipad have only been synced on the computer mentione

    I have bought itunes songs on an ipad with my daughter apple id. i would like to back them up on the same computer I sync my iphone with using my apple id but they will not transfer. Both iphone and ipad have only been synced on the computer mentioned since they were purchased. Is there any way to get the ipad music transferred to the computer?

    And they were definitely purchased from the iTunes store, they show on the account's purchase history (Store > View Account on a computer's iTunes, or you can view the last 90 days purchases via http://reportaproblem.apple.com) ?
    You could potentially log into the account on that computer's iTunes (Store > Sign Out to log out of your account, that will then change to a Store > Sign In option) and redownload them by clicking on the id towards the top right of the iTunes screen and Purchased on the popup :
    But that will potentially tie that computer to that account for 90 days : Manage your associated devices in iTunes - Apple Support
    Or do you have a different computer that you could redownload them on and then copy them over to that computer via a flash drive or memory card, and then add them to its iTunes via File > Add To Library ?

  • I have an IPhone with music on it and I have an iTunes account on my Mac book pro, its the same itunes account as my phone and it wont let me put music on my phone nor will it allow me to sync the music from my phone to the itunes on my computer. ?????

    I have an IPhone with music on it and I have an iTunes account on my Mac book pro, its the same itunes account as my phone and it wont let me put music on my phone nor will it allow me to sync the music from my phone to the itunes on my computer. Can you please help me out???? thanks

    If iPhone music is not on iTunes Library, you need a 3rd party tool to help you
    Mac: http://www.ecamm.com/mac/phoneview/
    PC: http://www.wideanglesoftware.com/touchcopy/index.php

Maybe you are looking for

  • Data recovery disk

     When I try and start up my pc or reboot it, I gat an error msg asking me to put in the recovery disk and press enter.  I cannot find my recovery disk anywhere and wanted to know if there is somewhere I can download it from so I can get my pc started

  • Trying to reinstall

    I am trying to do a clean install of the OS for my MacBook Pro. I have just received new replacement discs from Apple today. I had to call Apple support because the disc was keep being ejected,he managed to talk me through it and by holding down the

  • Lumia 620 Rebooting and Freezing

    My family have 4 Lumia 620's between us and all of them have been having problems with random reboots and screen freezes since the Lumia Black update.  I have tried resetting them and have verified that all the apps were updated (In all 4 cases "acce

  • Edit Procedure with selected values

    Hi, I have an edit form where i drugged my view as an adf form. I created in my Application Module a method called "save()" which what i do is just commit: try { getDBTransaction().commit(); } catch (JboException ex) { getDBTransaction().rollback();

  • ZMP Creative Leather Case - Is it possible to remove the back cli

    Hi, I want to buy one of these cases. I need to know if I can remove the belt clip or not. Also do you know if the Belkin case is better or not? Luis