Create Response groups multiple reponse groups using CSV file

Hi Champs,
We have good amount of response groups has to be created, I try to write the script but failed. Can any one help me to create Response groups through script.
In below script agents should be taken from CSV file.
Import-Module Lync
$serviceId="service:"+(Get-CSService | ?{$_.Applications -like "*RGS*"}).ServiceId;
$ag = New-CsRgsAgentGroup -Name "agent group" -Parent $serviceId;
$ag.Description = "Contain the agents";
$ag.ParticipationPolicy = "Formal"
$ag.AgentAlertTime = "20"
$ag.AgentsByUri.Add("sip:[email protected]")
$ag.AgentsByUri.Add("sip:[email protected]")
$ag.AgentsByUri.Add("sip:[email protected]")
Set-CsRgsAgentGroup $ag
Regards
Vijendhar

You also need to create queue and workflow. Please check how to create Response Group using Lync Server Management Shell at
http://blogs.technet.com/b/csps/archive/2010/09/15/rgscreateresponsegroup.aspx.
Lisa Zheng
TechNet Community Support

Similar Messages

  • Transfer using CSV-files

    Hello!  In our project we discussing about possibility to use CSV-files to transfer information.
    Can I use CSV in PI ?

    Hi,
    Yes you can. Use File adapter to read and do a file content conversion on it. By doing it the CSV format will be converted to XML format in PI
    Lot of weblgs are available on this
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    /people/swaroopa.vishwanath/blog/2005/06/24/generic-approach-for-validating-incoming-flat-file-in-sap-xi--part-1
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 30, 2009 9:18 AM

  • Report of Groups owned along with group memberships for each group, all in a single .csv file

    Hello all,
    What I'm trying to do is generate a report of all groups owned by a specific user, along with the group memberships, and output it all to a single .csv file. In the .csv file, I would like to have the group names as the column headers, and underneath
    the group name, list all the members of the group down through the column. So for example, if User1 owns 3 groups, the output would look like:
    What I'm having trouble with is outputting the objects to the .csv using New-Object psobject, and I'm starting to wonder if there is an easier way to do this and my brain is just fried.
    Any ideas?

    OK so I can try and give some code here, but I'm asking more of a concept question about how PowerShell builds objects so I'm not sure it will help....
    $User = "User1"
    get-adgroup -filter {managedby -eq $user} -pr member | %{
    $_.name
    $_.member
    OK so this is a simple script that outputs a group name followed by the membership, all in a single column. What I would like is for the group names to each be the header of a column, and have the membership listed underneath. For example:
    Is this possible in PowerShell?

  • How can I export a group email address to a .csv file. I can export the whole address book but it looses the group listings.

    I have an address book in Thunderbird and want to export one group listing to a .csv file. I couldn't find a way of exporting one group so exported the whole address book then opened the .csv file and was going to remove the all addresses except the group but the group name was not in the file.
    Is it possible to export the group listing.
    Thanks
    Ron

    Open Address Book, select the mailing list in the left pane, then Tools/Export, select csv (comma separated) format, name the file, click Save.

  • Want to create a multiple Purchase Order using one file source

    I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
    Right now I get  Item.no is missing [POR1.ItemCode][Line 2]

    Here is a code sample
        Private Sub testcode()
            Dim strOrdplanFile As String
            Dim oLineRec As SAPbobsCOM.Recordset
            Dim strLine As String = ""
            Dim ItemName As String
            Dim Quantity As String
            Dim RequiredDate As String
            Dim SupplierType As String
            Dim ShipTo As String
            Dim Vendor As String
            Dim oPurchaseOrder As SAPbobsCOM.Documents
            Dim bAddPOrder As Boolean = True
            Dim bPurchase As Boolean = False
            Dim sSQL As String
            Dim iReads As Integer = 1
            Dim iCurrentPurchaseNumber As Integer = 0
            Dim bErrors As Boolean = False
            Dim retCode As Double
            oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
            strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
            If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
                Dim sr As New StreamReader(strOrdplanFile)
                strLine = sr.ReadLine()
                txtPurRec.String = "0"
                oFormStatus.Update()
                Try
                    Do
                        Vendor = strLine.Substring(0, 8).Trim()
                        ShipTo = strLine.Substring(12, 8).Trim()
                        SupplierType = strLine.Substring(26, 1)
                        ItemName = strLine.Substring(27, 20).Trim()
                        Quantity = strLine.Substring(94, 8)
                        RequiredDate = strLine.Substring(206, 9)
                        oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                        sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
                        oLineRec.DoQuery(sSQL)
                        If oLineRec.RecordCount() > 0 Then ' if it exists add the record
                            If oLineRec.Fields.Item(0).Value.ToString = "B" Then
                                If (bAddPOrder) Then
                                    oPurchaseOrder.CardCode = Vendor
                                    oPurchaseOrder.DocDueDate = RequiredDate
                                    'Add first item to the purchase order
                                    oPurchaseOrder.Lines.ItemCode = ItemName
                                    oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                    oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                    oPurchaseOrder.Lines.Add()
                                    bAddPOrder = False
                                    bPurchase = True
                                    iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                    txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                    oFormStatus.Update()
                                Else
                                    'compare CardCode to make sure Vendor hasn't change
                                    If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
                                        'Add item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                    Else
                                        'vender code changed
                                        retCode = oPurchaseOrder.Add()
                                        If (retCode <> 0) Then
                                            SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
                                        End If
                                        oPurchaseOrder.CardCode = Vendor
                                        oPurchaseOrder.DocDueDate = RequiredDate
                                        'Add first item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                        bAddPOrder = False
                                        bPurchase = True
                                        iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                        txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                        oFormStatus.Update()
                                    End If
                                    iReads = iReads + 1
                                End If 'new
                                strLine = sr.ReadLine()
                            End If
                        End If
                    Loop Until sr.EndOfStream
                Catch ex As Exception
                    MsgBox(ex.Message, MsgBoxStyle.Information)
                End Try
                If (bPurchase) Then
                    lRetCode = oPurchaseOrder.Add()
                End If
                sr.Close()
                swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
                oPurchaseOrder = Nothing
            End If
        End Sub

  • Crystal Reports for Eclipse - Using .csv files?

    I recently installed crystal reports for Eclipse and much of the basic CR functionality seems to be there, but then I added a .csv file as an ODA flat file data source and I can see it in my "Data Source Explorer", but can not seem to drag it into my report to actually use the data.  Am I missing some basic step?
    Thanks,
    Chris

    Hello Chris,
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to Add Multiple Driver Packages Using Reference File via PowerShell

    Hey All - 
    I've got a task I'm working on which would be much easier via PowerShell.  I tried figuring it out, but couldn't so thought I'd post.
    The Task
    I need to create about 50 new, empty driver packages (most are in the same folder in the console) and am trying to find a method of doing so where I may use a source text file / csv file as reference in the command line.  Each package has a unique name
    and source path.  Here are examples:
    - Latitude E5440 Win7 x86 [A01]   \\server\drivers\5440x86
    - Latitude E5440 Win7 x64 [A01]   \\server\drivers\5440x64
    The Structure
    All of the ones I want to add via PowerShell will go into the same folder in the console.  They will be in the folder "root\New Drivers\Dell CAB Drivers" 
    Any ideas or will this just take more time than it's worth for 50?  Thanks!
    Ben K.

    Also, the creation of the driver package won't be your biggest challenge, as it's as simple as New-CMDriverPackage (see:
    http://technet.microsoft.com/en-us/library/jj821724(v=sc.20).aspx).
    The biggest challenge is relating your models to a share name (unless they're all Latitude).
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to change an existing line item in CCM catalog using CSV file?

    Dear All,
    We are using SRM5.0 and CCM 2.0
    We have uploaded the material and service master to CCM as supplier catalog from R/3.
    The initial Upload was doen successfully.
    My query is how to reflect the delta changes in CCM happening in R/3?
    If I can generate a CSV file with all those items wich has been changed (Changes can be in description, Plant, status etc) and upload the same file in CCM, will it update the existing line in CCM or create a new line item?
    How do i update an existing line item in CCM catalog using a CSV file?
    Thanks
    Abhishek

    Hi Atul,
    I am using CCM 2.0 and SRM 5.0 (EBP5.5).
    We are not using XI, so i guess we cant use the program "/ccm/file_upload".
    we have migrated the product master data from R/3.
    We have developed a report which takes product category as input and gives out flat file in csv format containg all the items in that prod category.
    Then we upload the file in CCM by logging thro the brpwser.
    Similarly, i can develop another program which will give me a CSV file foll all those items changed in R/3 in a day.
    Then we can upload that file in CCM.
    But i have doubt if it will update the existing items in catalog.
    Hope I could make myself clear.
    Thanks
    Abhishek

  • How to use csv files in OWB

    Hi Experts
    I have one UNIX server and i my user is putting the csv files on windows machine. I want
    1. If User put some new csv file in windows machine it should automatically reflect in UNIX machine.
    2. If user enter some data in windows csv files then it should be reflect in UNIX csv files automatically
    3. Now I want to connect my OWB with these UNIX csv fils. my csv files are in /home/oracle.source directory.
    Regards
    Frnd

    Let me give an insight of how it works for me:
    1. A CSV file is created in unix at a specified location.
    2. Using ULTRAEDIT software(installed on windows client) FTP is configured to access the unix server.
    3. Open the file stored in unix through ULTRAEDIT from windows.
    4. MAKE changes to the file from ultraedit in windows.
    5. SAVE it and close ULTRAEDIT.
    The changes will be automatically reflected in unix without having the need to FTP it.
    OWB accesses the CSV file from unix and does further processing.
    Not sure if OPs can do this but this is probably the easiest way of achieving what he wants and this approach works very well for me.

  • Problem in handling multiple source of Complex CSV files in ODI

    Hi,
    I have a requirement where I have multiple CSV files.
    In Details:
    when I have one CSV file I use the following syntax in JDBC URL in creation of Data Server under Complex file of Topology navigator.
    jdbc:snps:complexfile?f=C:\pqr\pqr.csv&d=C:\pqr\pqr.xsd&re=Root
    When there are multiple CSV files what would be the syntax as? will it be like
    jdbc:snps:complexfile?f=C:\pqr\*.csv&d=C:\pqr\pqr.xsd&re=Root (I am getting error as unexpected token * when I am using * and clicking on Test Connection Button).
    Please help..
    Thanks.

    Hi,
    first of all according to documentation use backslash
    http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/appendix_complex_driver.htm#CCHDJGHF
    in second place under my opinion you are not able to use mask to identify more file. A workaround is to use a variable to store the file name. BUT i've never used Complex Files, so i'm speculating about it.

  • Using .csv file and adding data into database

    hi,
    i'm working on a project which shows all the share prices on a webpage from the FTSE100..
    my problem is..i connect to yahoo.co.uk to get my share price information which is updated every 15mins..they return a .csv file to me...at the moment, i am just printing the information onto my website, but is there any way that i could store this information into a database if i needed the data to be used elsewhere...thanx for the help in advance

    below is my code which i used to get my info onto the web...i'd just like to know how i would use this to store the data into a database..
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class SharePrice
         private String line;
         private int maxShares = 101;//maximun shares a user can have
         private int details = 5;//five details, name,date,time,price,change.
         public String [][] shareData = new String[maxShares][details];
    public SharePrice(String [] shares) throws Exception
              getShare(shares);
         //returns a double array containing share data of each share as a seperate row in the array
    public String [][] getShare(String [] sh) throws Exception
                   for(int i=0; i<sh.length; i++)
                        //if the entry is null we have reached the end of the array
                        if(sh!=null)
                             String share = sh[i];
                             //part of url of the resource
                             String address ="http://uk.finance.yahoo.com/d/quotes.csv?s=";
                             //adds the share tothe url so that particular shares data is retieved
                             address = address+share;
                             System.out.println(address);
                             try
                                  //connection is created to the resource and input stream opened to read data
                                  URL url = new URL(address);
                                  BufferedReader in = new BufferedReader(
                                            new InputStreamReader(
                                            url.openStream()));
                                  line = in.readLine();
                                  in.close();
                             }catch(Exception e){System.err.println("Exception: " + e.getMessage());
                                  e.printStackTrace();}
                             //the line of data retrieved is spli and placed in a single row of the array
                             //beause the each piece of data is seperated by commas it is easily seperated.
                             StringTokenizer t = new StringTokenizer(line, ",");
                             int count = t.countTokens();
                             System.out.println(" count= "+count);
                             while(t.hasMoreTokens())
                                  for(int j=0; j<count; j++)
                                       String s = t.nextToken();
                                       shareData[i][j] = s;
              return shareData;

  • Load IDM users using CSV file

    I am trying to load some users into IDM using a CSV file:
    command, accountId,waveset.firstname,waveset.lastname,waveset.email
    Create,testid,james,smith,[email protected]
    Create,testid2,sally,gray,[email protected]
    After loading i can see that the account has been created. However, when i open the click on the user account to see the details, other data (e.g. firstname, lastname, email) other than the accoundid are not loaded to the fields on the user form.
    A ideas?

    I used global.firstname etc....
    command,user,waveset.resources,waveset.organization,password.password,global.department,global.firstname,accounts[NDS-VSTATE].middlename,global.lastname,global.email

  • Using csv files and automatic activation

    We have setup our hybrid with Office 365, how can I use the csv file to migrate and activate the users at the same time ? I can migrate the users but they are not activate otomatically. Actually we plan to ONLY activate exchange not the other products
    like Lync, Sharepoint..at the moment.

    Hi,
    Do you migrate mailboxes to Exchange Online with a staged migration?
    When you migrate mailboxes to Exchange Online with a staged migration, you can create a CSV file to create a migration batch.
    After a migration batch has finished running, you need to convert the on-premises mailboxes in the migration batch to mail-enabled users by downloading related scripts and run it.
    I'm afraid there is no way to migrate and activate the users at the same time using a single CSv file.
    Here is a related article for your reference.
    http://technet.microsoft.com/en-GB/library/jj874018(v=exchg.150).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • How can i update an existing item in sap using CSV file?

    Hi,
    i am trying to update an existing Item in SAP using a CSV file.
    in the message log i get an error message that the item already exists.
    what should i do in order to update the existing record?
    Thanks, Udi

    Hi..........
    I would sugest you to use Tab delimited file and choose proper option in order to update the itsm master in DTW......
    Regards,
    Rahul

  • Export Address Book using CSV file to Verizon Webmail

    I need to export the contents of my address book using a CSV file format which is compatible with Verizon Webmail.
    Verizon Webmail will not acknowledge any other format other than CSV and reject my attempts to use Mac sys tem formats.
    Help.... Chan

    I need to export the contents of my address book using a CSV file format which is compatible with Verizon Webmail.
    Verizon Webmail will not acknowledge any other format other than CSV and reject my attempts to use Mac sys tem formats.
    Help.... Chan

Maybe you are looking for

  • Why does my app store use a different account for downloading and another for updating apps?

    My app store used my own account for downloading and my sister's for updating, and it keeps telling me to reset my account. I already did that the other few times it told me to do that!

  • ITunes 7.0.1.8 upgrade issues

    Please tell me if you have any solutions to these problems: -I can play my music from iTunes while I am uploading CDs but it is really laggy and this goes for all audio actually, not just in iTunes -Also, on occasion, I cannot play anything. I will h

  • Detecting removal of uninstalled usb device

    Hello, I have an application where I am setting a serial number in a USB device. I then remove the device from the Registry using Devcon (Devcon will not uninstall the device if it isn't plugged in). At this point I want the operator to unplug the de

  • Error message: Translation result in VEB too large

    Our local currency is ANG (Antillean Guilder). As a subsidary of a Venezuelan Company the system has been configured to perform an automatic translation in the background to VEB. You do not notice this process, untill you receive the error message st

  • Creating iView for BI queries and system

    Dear All I need your help in dealing with three challenges that i'm currently facing while trying to integrate BW into Portal. <b> Challenge 1:</b> I am trying to create an iView for BI queries but it is giving the following exception Portal Runtime