Can I use SQL to move a device record?

It appears all/most of the powershell scripts out there to move a device record into a collection utilize WMI.
Is it possible to use SQL to add a device record into a collection.
I also mean to execute this via C#.
Any assistance with this wether direct or indirect would be very much appreciated.

It appears all/most of the powershell scripts out there to move a device record into a collection utilize WMI.
Is it possible to use SQL to add a device record into a collection.
I also mean to execute this via C#.
Any assistance with this wether direct or indirect would be very much appreciated.
No, you can't use SQL to directly add a record to CM12. (Short of dropping to DOS and executing a batch,powershell, etc.)
Have you look at the SDK, it should allow you to do what you want in C#.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ

Similar Messages

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

  • Help Required -- Can we use SQL Query to READ data from SAP MDM Tables

    Hi All,
    Please help.........
    Can we use SQL Query to READ(No Creation/Updation/Deletion  just Read) Data from SAP MDM tables directly, without using MDM Syndicator.
    Or direct SQL access to SAP MDM tables is not possible. Only through MDM Syndicator can we export data.
    Thanks in Advance
    Regards

    All the tables you create in Repository comes under A2i_CM_Tables in Database named as your repository name. So the tables names are fields of table A2i_CM_Tables. Now i tried it but cant make it.
    Now, I dont think its possible to extract all fields in tables and there values using select query. May be pure sql guy can do that or not.
    But there is no relation of data extraction and syndicator. Data is viewed in Data Manager. and you can also store data in a file from DM also.
    BR,
    Alok

  • Can I use iCloud to sync two devices with different apples Ids?

    Can I use iCloud to sync two devices with different apple ID's

    What do you mean by "apple ID"?  There's an ID you can use at the iTunes store to buy songs, apps, etc.  there's an ID you can use for your iCloud account - the two can be different or the same. So which service are you referring to when you talk about an apple ID?

  • Can I use Family sharing on a device with iOS 7?

    Can I use Family Sharing on a device that is not with iOS 8?

    Hi milxtor,
    To setup or use Family Sharing, you will need devices to be on iOS 8. Take a look at the article below for more details on setting that up. 
    Start or join a family group using Family Sharing
    http://support.apple.com/en-us/HT201088
    Take it easy,
    -Norm G.

  • Can I use more than one bluetooth device at a time with my iphone4

    Can I use more than one bluetooth device at a time with my iphone4

    Anthony
    I have a Plantronics 975 earpiece that works very well with my Razr.  I
    just got a Panasonic KX-TG7873S phone system for my home, it has a
    "Link-to-Cell" cellular convergence solution, from what I understand it is
    just Bluetooth enabled.  I have paired both device with my Razr.  In
    settings, Bluetooth setting, both device show.  But only one device can
    connect at a time.  If my Plantronics is connected and I choose the
    Panasonic device, the Plantronics device disconnects and the Panasonic
    device then says it is connected.  Both devices work when they
    are connected.  Is it because they are both "headsets"?
    So, to have to remember to connect to one or the other device, depending on
    weather I am coming or going is not practical.
    On Sat, Sep 14, 2013 at 1:14 PM, Verizon Wireless Customer Support <

  • How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store.

    How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store. 

    Call Apple's online store's telesales agents: 1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775. For Lion you'll get a redemptions code via e-mail and need to DL from the Mac Apple Store (requires SL 10.6.6+).

  • I'm new to the Apple world so bare with me. I have an iPone4S and an iPad2. I want to buy the numbers app but want to know it I buy it can I use the app on both devices? Thx

    I'm new to the Apple world so bare with me. I have an iPhone4S and an iPad2. I want to buy the numbers app but want to know it I buy it can I use the app on both devices? Thx

    mikefromboth ell wrote:
    I'm new to the Apple world so bare with me. I have an iPhone4S and an iPad2. I want to buy the numbers app but want to know it I buy it can I use the app on both devices? Thx
    From the iTunes Store, yes, all your iOS devices running on the same account will qualify.
    Jerry

  • HT204053 i couldn't open new terms and conditions of icloud, and so i can't use the icloud on my device iphone 5, this problem appears, when I get new ios 7

    i couldn't open new terms and conditions of icloud, and so i can't use the icloud on my device iphone 5, this problem appears, when I get new ios 7

    Try download the Find My Friends app and signing in to accept the terms and conditions there.

  • Can I use SQL developer for a Sybase IQ migration to Oracle?

    Hello,
    Can I use SQL developer for a Sybase IQ migration to Oracle?
    Currently in the supported list appears only Sybase Adaptive Server 12 and 15.
    Thanks,
    Florin D.

    Sorry, we don't support IQ migrations at this time.

  • Can i use my ipad2 as inertnet device for connect my desktop

    Can i use my ipad2 as inertnet device for connect my desktop

    No, the iPad doesn't have the personal hotspot function and can't share its connection with other devices - that is currently only found on the iPhone

  • If I purchase Acrobat Pro, can I use it on all my devices

    If I purchase Acrobat Pro, can I use it on all my devices?

    Hi ,
    You can install your subscription software on up to two computers. See the license agreement for the product you want to subscribe to for more information.
    Regards
    Sukrit Dhingra

  • How can I use SQL to check if the receipt is accounted?

    Dear all:
    How can I use SQL to check if the AR receipt is accounted ? Because there is so many receipts to check, I cannot open it to see the detail one by one.
    My environment is :11.5.9
    database : Oracle 9.2.0.8

    Duplicate post.
    How can I use SQL to check if the receipt is accounted?
    Re: How can I use SQL to check if the receipt is accounted?

  • Can we use SQL Server 2012 Web Edition as a witness server in mirroring?

    Hi All,
    Can we use SQL Server 2012 Web Edition as a witness server in mirroring?
    Grateful to your time and support. Regards, Shiva

    Hi All,
    Can we use SQL Server 2012 Web Edition as a witness server in mirroring?
    Grateful to your time and support. Regards, Shiva
    As Per BOL
    We strongly recommend that the witness reside on a separate computer from the partners. Database mirroring partners are supported only by SQL Server 2005 Standard and later versions and by SQL Server 2005 Enterprise Edition and later versions.
    Witnesses, in contrast, are also supported by SQL Server 2005 Workgroup and later versions and by SQL Server 2005 Express Edition and later versions. Except during an upgrade from an earlier version of SQL Server, the server instances in a
    mirroring session must all be running the same version of SQL Server. For example, a SQL Server 2005 witness is supported when you are upgrading from a SQL Server 2005 mirroring configuration but cannot be added to an existing or new SQL Server 2008 or later
    mirroring configuration.
    A witness can run on any reliable computer system that supports any of these editions of SQL Server. However, we recommend that every server instance that is used as a witness correspond to the minimum configuration that is required for the SQL Server Standard
    version that you are running. For more information about these requirements
    http://technet.microsoft.com/en-us/library/ms175191.aspx#SwHwRecommendations
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Can I use a Plantronics m55 Bluetooth device with Skype for Iphone 4s

    Can I use a Plantronics m55 Bluetooth device with Iphone 4s for Skype call?

    only if the headset support a2dp bluetooth profile

Maybe you are looking for

  • Can't get rid of default apple I'd!  Can you help?

    Made a typo in my user id.  Edited it in account but the incorrect user name auto fills.  When I try to edit it, it shows it correctly, but it still defaults to the old info.  Can't get any new apps or tunes!  What's the secret?!!  Really frustrating

  • Server side PDF sanitize

    Have various web applications that accept public input of PDF files that are then later downloaded by large populations of known users for viewing and editing. These are flat text - no animations. Looking for options to sanitize files before use by o

  • Capturing System Date in Calculation

    Hi,I am in need of urgent help. Can i capture system date in Essbase to perform calculation. If possible what is the procedure else what is the work-around method. Thanks----Ayan

  • Forward Orders in SAP/RB Integration

    Hi, We are running a SBO2007A and Radio Beacon 54.12 integration. We have a situation where we have forward orders placed against certain seasonal products. For example, winter stock might be ordered by our customers 8 months in advance and we then p

  • Motion 4, pixelated fonts

    Hi everyone. I'm using motion 4 to design a template. I placed a evolution floral design in the scene and when I export it in pro res 444, the edges are not as sharp as they were in the project. What causes this and how do I correct it? thanks.