Query applications and deployment types

Hi,
I got this powershell script to perform the above task (a query for applications and deployment types from SCCM)
But getting the following error after running the script:
"You cannot call a method on a null-valued expression
At Line:2 char:13"
$SCCMApplications = get-cmapplication
   ForEach($SCCMApplication in $SCCMApplications) {
        if ($ApplicationsToRename.ContainsKey($SCCMApplication.LocalizedDisplayName)){
            $SCCMDeploymentTypes = get-cmdeploymentType -applicationname $SCCMApplication.LocalizedDisplayName
            foreach($SCCMDeploymentType in $SCCMDeploymentTypes)
                    Write-Host "Found SCCM deployment type '$($SCCMDeploymentType.LocalizedDisplayName)' exists for application '$($SCCMApplication.LocalizedDisplayName)'."

In addition, This tool might be helping you.
ConfigMgr 2012 - Powershell Right Click Tools
http://psrightclicktools.codeplex.com/
Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party
contact information.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Pass these documents a object ID, application and output type..plz help

    Hi frnds,
       To select all the billing documents from from the document flow table i have
    this peice of code----
    SELECT VBELN FROM VBFA INTO CORRESPONDING FIELDS OF TABLE IT_VBFA
             FOR ALL ENTRIES IN ITAB_VBAK WHERE VBELN = ITAB_VBAK-VBELN
                                          AND VBTYP_N = 'C' OR VBTYP_N = 'G'.
    i want to ---Pad two zerou2019s before the document and pass these documents a object ID,
    application and output type.
    Get the object ID, processing status for each billing document number and
    display in the pop up window for the user.
    i hope to use in NAST TABLE.
    how to code this...
    thnx
    daniel
    <LOCKED BY MODERATOR - URGENT, PLEASE HELP OR SIMILAR ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 18, 2008 1:14 PM

    Use
    declare the field b_vbeln of length u want adding length for 2 '0' also.
    ex:- Vbeln length = 10
           b_vbeln  type i length 12.
    b_vbeln = vbeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = b_vbeln
    IMPORTING
    OUTPUT = b_vbeln.
    U will get b_vbeln with 2 '0' or always the value be of 12 length.

  • Want application and output types

    Hi Friends
    can anyone provide me the application and output types for the below one's
    Scheduling Agreement Output
    Rebate Agreement Output
    Contract Output

    Output Type      Application
    Scheduling Agreement Output------LP00                     V1
    Rebate Agreement                   ??
    Contract                            -
    KO00                      V1
    Reward points...if it meet ur requirement

  • Difference between Installing an application and Deploying and application

    What is the Difference between Installing an application and Deploying and application from the console?
    When deploying and app from console - > Click on deployments -> Install -> choose app path, next, next,.. Finish.
    Then it will be in prepared state. Once you activate changes, the app deployed will be in activate state. Some times even if you activate changes, it will be in prepared state. then you need to start the app which then comes to activate state.
    From above, which part is called Installing an app? Which part is called deploying an app?
    Or Are Install and Deploy both mean same?
    Edited by: user734247 on Apr 26, 2012 3:16 PM

    Installation is generally referred to making an application's physical file or directory known/accessible to WebLogic Server by configuring through the "New" option in the "Deployments" screen and targeting the servers. Installation of an application will put the status of the application in "prepared" state.
    Start is the next action expected so that the application's state transforms into "ACTIVE" by initializing the application and loading the necessary classes and creating the necessary objects to run the application.
    The above two steps together are referred to as "Deployment of an application"
    Bottomline: In short, "Deploying an application" includes "Installation of the application" AND "Activation/Start of the application"
    Arun

  • What are the different steps to follow in order to develop an application and deploy it into a PAC

    Hi,
    I developped a program on my computer but in order to deploy it in a PAC , I don't know what are the different steps to follow?
    What are the difference between a stand alone application and communication with server mode.
    Can the file which will be downloaded into the PAC be in a form othre than (.exe). 
    what does the deployment licence consist of??? is it a software? 
    if the file is .exe then how to maintain it?
    Thank you for all,
    Regards

    Hi!
       Since I'm familiar with FieldPoint PACs, I'll refer to that (but maybe it is similar for cRIO...).
       An embedded application (standalone), runs entirely and independently on the PAC, while if you're not doing this, you'll have your computer, with LabView, which is controlling the PAC.  In this mode, application is dowloaded in PAC's RAM, so when you reboot controller, application will be lost.  If you build an embedded application, you can provide for application to boot authomatically at boot, each time the PAC reboots.  These are some basic stuffs on embedded applications with LV.
        To deploy an application to a PAC, you need LabVIEW + Real-Time module. Without it, you can't build an embedded application on PACs.
        usually, the file dowloaded is an .exe, and some libraries.  What would you like to have, exactly? For example, I think you can buy a simple .exe, which is universal, which loads VIs dinamically, so you can download directly VIs, but I've never tried this way....
       Deployment license, I think, refer to PCs, id est, when you use a PC or PXI as embedded target, in PACs, you have it bundled (it seems to me) whit the PAC you buy, so you don't have to buy an extra license for every PAC you ship with your application.  Otherwise, if you develop a Real-Time application for a PC, you will ship PC + OS licensed + Real-Time extension licensed, but this is not your case, since you'll use PACs.
       The maintain problem... I've already faced with! Simply, for my needs it was enough to make an application which loads configuration files, depending on different task the controller has to do. If you have to dowload a completely new version of VI.... it's better to deploy new application from LV.  But maybe you can bypass this problem with dinamic VIs loading...
        Let me know if this help.... Have a nice day!
    graziano

  • How to write a Timer application and deploy on an application server?

    Hello Everyone,
    How to write a Timer application which can be triggered according to a
    specified timetable and deploy on an application server?
    I know JMX(Java Management Extension) support Timer service, but my context
    is the service execute according to a tabletime
    user specified,not periodically. Do u know what i mean?
    Thanks in advance.
    Nov 4,2002

    Woodsonli,
    What about using a third party J2EE scheduler like Kronos
    See the following link
    http://www.indcon.com/
    Would that suit your needs?
    Chuck Nelson
    DRE
    BEA Technical Support

  • MDT : creating windows 7x64 images with required applications and deploying it

    Hi,
    We have to create windows 7 x64 and windows 8 images with all the custom applications and which can also be used on all the hardwares. I heard MDT can be used. How can I do this and what are the pre-requisites for installion and steps for configuring MDT
    tool ?
    do we need ADK for installing MDT ? I tried installing ADK ,but it says you need have ADK documentation_x86_en_us.msi.
    Thanks.

    For drivers, I have always used the .inf files.
    For applications, it depends upon how you want to deploy them.  Lots of people build their 'gold' image to contain all the applications they want installed, and then use that as a basis for deployment.  Others build special scripts in to select
    specific applications based on security groups.
    The thing about MDT is that it is very flexible and can be adapted to a lot of different situations.  You first need to define exactly how you plan to use it and then build your image(s) accordingly.
    The guides you can find online will assist you in the specific steps for the solution option you chose.  There is not a single, simple answer to cover all cases.
    .:|:.:|:. tim

  • Web Applications and MIME Types

    Hi,
    I am using WL Server 5.1, Service Pack 4 with the Sun JDK 1.3 on RedHat
    Linux 6.2. I woiuld like to deploy my application as a web application. I
    have created the web.xml file, etc. as per teh specification, and things
    work as expected for the most part: I can server up plain HTML, JSPs, etc.
    without a problem. I do have one major problem however: I cannot seem to
    serve up GIFs, PDFs, etc. I believe I have correctly specified the MIME
    mappings in my web.xml file. Is there something I am missing here? I'd
    appreciate any help in this regard. I am attaching my web.xml file for those
    who'd like to look at it.
    TIA,
    Prashanth
    [web.xml]

    Bjorn,
    I am re-attaching the web.xml file. I think I do have the necessary
    specifications in it. Just to be safe, I have put all the mime mappings in
    the weblogic.properties file as well, still to no avail. Interestingly
    enough, things work perfectly well when I deploy it the default weblogic
    way.
    Thanks,
    Prashanth
    "Björn Brenander" <[email protected]> wrote in message
    news:[email protected]..
    Prashanth Nandavanam wrote:
    Hi,
    I am using WL Server 5.1, Service Pack 4 with the Sun JDK 1.3 on
    RedHat
    Linux 6.2. I woiuld like to deploy my application as a web application.I
    have created the web.xml file, etc. as per teh specification, and things
    work as expected for the most part: I can server up plain HTML, JSPs,etc.
    without a problem. I do have one major problem however: I cannot seem to
    serve up GIFs, PDFs, etc. I believe I have correctly specified the MIME
    mappings in my web.xml file. Is there something I am missing here? I'd
    appreciate any help in this regard. I am attaching my web.xml file forthose
    who'd like to look at it.
    TIA,
    Prashanth
    ÿþ<Prashahth: your attachment seems to have disappeared somewhere.
    For some reason, my web applications didn't know how to serve plain
    HTML, so I added
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    to my web.xml, and it worked.
    I find this behaviour quite strange, since the manual says that the
    mappings defined in weblogic.properties should propagate to web
    applications.
    Regards,
    Björn Brenander[web.xml]

  • I want to scan an application and then type the information directly on it.  Is there a way to do this?

    I need to complete an application.  I want to scan it and then open it in a program which will allow me to type the answers on the page.  Then print and mail it out.  Once I scan it, I can not type on it... can someone help me with this?

    Why are you asking this question in an iWeb forum which is about building websites when your question has nothing to do with it?

  • Same application and deploy diferents versions

    Sirs;
    What i'm trying to do , i'm quite sure most of you have passed some hours on it;
    We have here an application what we want to separate it in 2 versions, lets say enterprise and standard;
    As expected all components (uix files , bc4j modules views and entities ) that standard version must contain are part of enterprise version.
    There are some way to not duplicate commons files and classes and just creating deployment specific files for both of then, like web.xml and struts-config.xml.
    What about application's module data model ? there are some chances to reduce it to serve standard version and increase it to enterprise ?
    Thanks
    Marcos Ortega

    Alternatively, why not actually reference Oracle official documentation or post in their forums (because as Torsten said, this really has nothing to do with ConfigMgr or Microsoft even).
    http://java.com/en/download/help/msi_install.xml looks to be a great place to start.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How to repackage "jre-7u72-windows-i586.exe" application and deploy through SCCM 2012

    Hi,
    Along with IE 11 we are planning to deploy "jre-7u72-windows-i586.exe"
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield.
    Identified vendor .MSI file at
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\jre1.7.0_72.msi"
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\Data1.cab
    Created Transform file
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield with the Tuner feature
    My queries:
    Do we have any best practices while repackaging “jre-7u72-windows-i586.exe?” by Adminstudio
    How to deploy the jre-7u72-windows-i586.exe application assuming with parallel deployment of IE
      11.
    Do we uninstall lower versions of Java when installing any newer versions like jre-7u72-windows-i586.exe?
     if yes then how to handle
    Do we install jre-7u72-windows-i586.exe application without uninstallations of any lower version of JAVA , if yes then how to handle
    Looking for best practices / Customizations ?
    Thanks, appreciate your help.
    Han,
    Gc.Hanumareddy

    Alternatively, why not actually reference Oracle official documentation or post in their forums (because as Torsten said, this really has nothing to do with ConfigMgr or Microsoft even).
    http://java.com/en/download/help/msi_install.xml looks to be a great place to start.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Problem with packageing and deploying a sample application

    HI,
    I have tried to download and install the server in my system. I am able to deploy a sample application using autodeploy utility.
    But when i tried to package a new sample application and deploy i am getting 404 error. For application server i have used 7070 port and not the default 8080 port will this a problem to package & deploy sample application provided with this software.
    The error is as below:
    HTTP Status 404 - /hello1
    type Status report
    message /hello1
    description The requested resource (/hello1) is not available.
    Sun-Java-System/Application-Server

    Btw, verify that the url you are trying to access is correct. For instance, assuming you deploy app. without --contextroot option. By default,  the url is http://<host>:<port>/<web module name>/<value of url-pattern in web.xml> if your app contains servlet. If your app has jsp then it's http://<host>:<port>/<web module name>/<value of url-pattern in web.xml>/<name of jsp>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Application Deployment Type Content Locations in CM 2012 R2 DB

    Hello,
    Does anyone know the view or table in the SCCM DB for an application's deployment type's content location? 
    I found the package view which lists all packages content info. but haven't been able to find the content location for our application's deployment types.
    Any help would be appreciated.
    Thanks
    Dave
    - Dave

    The information is stored in v_ContentInfo.ContentSource
    you can use this query to view the Content Source for each application:
    SELECT DISTINCT app.Manufacturer, app.DisplayName, app.SoftwareVersion, dt.DisplayName AS DeploymentTypeName, dt.PriorityInLatestApp, dt.Technology, v_ContentInfo.ContentSource, v_ContentInfo.SourceSize
    FROM dbo.fn_ListDeploymentTypeCIs(1033) AS dt
    INNER JOIN dbo.fn_ListLatestApplicationCIs(1033) AS app ON dt.AppModelName = app.ModelName
    LEFT OUTER JOIN v_ContentInfo ON dt.ContentId = v_ContentInfo.Content_UniqueID
    WHERE (dt.IsLatest = 1)
    Benoit Lecours | Blog: System Center Dudes

  • Packaging and Deploying Weblogic Application

    Hi,
    I am having trouble in deploying a Weblogic application. I made a Web
    application in Weblogic6.1 on Windows2000. The directory structure of my
    JSPs, Images and Servlets are as follows:
    JSPs - DefaultWebApp
    JavaBeans(not EJB)(these JavaBeans are used by the JSPs as well as the
    Servlet)
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Loginpkg,
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Workpkg, etc.
    HTML - DefaultWebApp
    Images - DefaultWebApp\Images
    Servlets - DefaultWebApp\Web-Inf\Classes\Servletspkg
    web.xml and weblogic.xml - DefaultWebApp\Web-Inf
    The Web application runs fine. Now I want to package the above Web
    application and deploy it under Solaris8 (Weblogic 6.1)( in another
    machine.) I am not able to do that. I would be grateful if you could let me
    know the steps involved in packaging and deploying.
    Thanks in advance.
    -Jaya

    Hi Michael,
    I deployed the webapp to the default webapp on solaris and it worked.
    Thanks!
    -Jaya
    "Michael Young" <[email protected]> wrote in message
    news:[email protected]...
    Hi.
    Hmm, hard to say.
    I notice in your deployment on Windows 2000 you deployed in the defaultwebapp,
    but on solaris you deploy in 'test' webapp. I suspect this is the root ofthe
    problem. Since you are having problems calling J2.jsp I wonder how youare
    calling it. When calling from the default webapp you don't need tospecify a
    webapp context in the url, but from test webapp you do (depending on howyou are
    calling it - full url vs relative url).
    So in summary consider 2 things:
    1. how are you calling J2.jsp that might be different than how you callthe
    servlet from J1.jsp?
    2. what happens if you deploy your webapp to the default webapp onsolaris? my
    guess is that this will work.
    Hope this helps,
    Michael
    Vikor wrote:
    Hi,
    I could finally deploy the web application on the Solaris machine. But I
    am
    not sure if I did the right thing. I followed the steps below:
    1.I created a folder "test" under "config/mydomain/applications"folder.
    2.I extracted the .war file in this folder which was successful.
    3.Then I tried to run the application with the URL
    http://localhost:7001/test
    4. I got "J1.jsp" (located in "test" folder) as I excpected. This pagecalls
    a servlet "ControllerServlet" located in folder
    "test/WEB-INF/classes/servletspkg"
    5. The servlet in turn calls another jsp page J2.jsp located in "test"
    folder. This call is failing. I am getting 404 file not found error.
    Please suggest what I should do.
    Thanks in advance,
    Best regards,
    Jaya
    "Michael Young" <[email protected]> wrote in message
    news:[email protected]...
    Hi.
    I need more detail here. When you say you can't deploy to solaris,
    what
    does
    that mean? Do you get any errors/exceptions while deploying? If soplease
    post the errors here. Or does it deploy ok but you can't access it?
    Michael
    Vikor wrote:
    Hi,
    I am having trouble in deploying a Weblogic application. I made a
    Web
    application in Weblogic6.1 on Windows2000. The directory structureof my
    JSPs, Images and Servlets are as follows:
    JSPs - DefaultWebApp
    JavaBeans(not EJB)(these JavaBeans are used by the JSPs as well asthe
    Servlet)
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Loginpkg,
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Workpkg,etc.
    >>>>
    HTML - DefaultWebApp
    Images - DefaultWebApp\Images
    Servlets - DefaultWebApp\Web-Inf\Classes\Servletspkg
    web.xml and weblogic.xml - DefaultWebApp\Web-Inf
    The Web application runs fine. Now I want to package the above Web
    application and deploy it under Solaris8 (Weblogic 6.1)( in another
    machine.) I am not able to do that. I would be grateful if you couldlet
    me
    know the steps involved in packaging and deploying.
    Thanks in advance.
    -Jaya--
    Michael Young
    Developer Relations Engineer
    BEA Support
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Cannot delete last Deployment Type as it is referenced by a previously deleted Deployment Type

    Hi guys...
    I have previously created dependencies between two (2) separate Application's Deployment Types (DT) as such:
    "DT_A in Application_A" depends on
    "DT_B in Application_B"
    During some test procedures, we have deleted the whole of Application_A (along with all its DTs).
    Now, we are unable to delete DT_B as well as it complains that it is still being referenced by (the already deleted)
    DT_A. Obviously we can't delete Application_B as a whole as it is still complaining that
    DT_B is still being referenced.
    The References tab in
    Application_B still shows that it is still being referenced by Application_A even though searching from the Console as well as Get-CMApplication does not show any more of the deleted
    Application_A
    The last and only Revision in
    Application_B's Revision History cannot be deleted as its Delete button is greyed out.
    However, the View button can be clicked and it shows the historical revision during the time when Application_A still referenced Application_B.
    Any ideas on how we can delete Application_B ? Is deleting Applications and DTs via SQL Query possible ?

    Yup... got it done via Remove-WmiObject...
    1. First, find the offending Application_A still referencing the Application_B
    !!AND MAKING SURE IT IS THE CORRECT ONE!! via:
    Get-Wmiobject -Namespace "root\SMS\Site_PRI" -Class SMS_Application | Where-Object { $_.LocalizedDisplayName -eq "Application_A" }
    2. Once confirmed that it is the correct Application, remove it by piping to Remove-WmiObject via:
    Get-Wmiobject -Namespace "root\SMS\Site_PRI" -Class SMS_Application | Where-Object { $_.LocalizedDisplayName -eq "Application_A" } | Remove-WmiObject
    3. Delete the referenced Application_B as per normal procedure via the SCCM Console:
    Delete Deployments
    Delete Deployment Type(s)
    Delete Revision(s)
    Retire
    Delete Application
    Done.
     

Maybe you are looking for

  • ECess Value not getting displayed in MIGO

    Dear All, When I do a GR against a PO the Ecess Value doesnt flow in MIGO. ( PO created with Non-deductible excise tax code.) Please note the below details also. We are using SAP 4.7 version & our tax procedure is TAXINJ. So can anyone explain how th

  • Re: How can I know what my skype number is?

    Hey bringiton did you get an answer? I just recently bought skype credit and would like to find out what my number is..

  • Can I make Genius ignore certain songs in my l

    Is there a way to make Genius ignore certain songs when creating playlists? For example, if I create a playlist based on "Adult Alternative" music, Genius will frequently select some of my off-beat Christmas music.

  • How can i fix blank "File Info...." in Photoshop CS5?

    I wanted to add metadata to some of my photos. However, when I attempted to open "File Info" there was nothing in the dialogue box. It was just empty. Is there a method for fixing this apart from reinstalling Photoshop?

  • Refresh iterator after invoking backing bean method

    Hi guys, I 'm using jdev 11.1.1.1.0. I have a jspx page which displays a table with data. I've succeedeed on not displaying data of the table on initial rendering with this code (it's my will) : <iterator Binds="ProjetsActifsLectureSeule_extend1" Ran