How to get list of all sp farm solutions using powershell?
is there any powershell script can list down all solutions deployed on farm in txt or cvs file?
Thanks. but this is showing all features. I need only our custom developed features
Get-SPFeature >> c:\temp\feature.txt
Let me know how to get?
Similar Messages
-
Better way how to get list of all classpath URLs in runtime
Hello everyone,
How to get list of all classpath items (URLs) in runtime from Java code?
I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
Does system property "java.class.path" contain ALL loaded JARs?
Does it contain items (JARs, class directories) loaded by bootstrap classpath?
What about JARs loaded in runtime?
Is the separator ":" always same on all operation systems?
I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
But there is nothing like this in ClassLoader, Class, Runtime or System classes.
For curious, here is code I use.
String classpath = System.getProperty("java.class.path");
StringTokenizer st = new StringTokenizer(classpath, ":");
while (st.hasMoreElements()) {
System.out.println(st.nextElement());
}For curious, here are output prints for all 3 methods:
1) parsing system property
2) tschodt
3) overcast SystemClassLoader to URLClassLoader
/home/espinosa/workspace/jboss_embedded_test1/target/test-classes
/home/espinosa/workspace/jboss_embedded_test1/target/classes
/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
package com.thoughtworks.qdox.directorywalker
package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
package java.util.jar, Java Platform API Specification, version 1.6
package org.testng.internal.thread
package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
package java.net, Java Platform API Specification, version 1.6
package sun.reflect.misc, Java Platform API Specification, version 1.6
package esp.ejb.samples1.test
package sun.security.provider, Java Platform API Specification, version 1.
file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
It prints not absolute paths but logical Java names. -
How to get list of users who reset password using FIM portal
How to get list of users who reset password using FIM portal
-Thanks Rakesh SawantHi Rakesh,
I think you are looking for something like this:
Using Powershell to list all users that had completed
a password reset within the last 30 days
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
How to get list of applied patches which applied using admrgpch
How to get list of applied patches which applied using admrgpch
You can't really get the individual patch IDs from a merged patch, unless you have the log file from the admrgpch run available.
You can, however, get the list of bugs fixed by a merged patch, and those bug numbers sometimes, but not always, correspond to a patch ID. Keep in mind, though, that individual patches often contain entries for multiple bug numbers.
Here's a query that I use to look at the contents of merged patches. It works best if the merged patches have been given unique names, instead of the default name 'merged' from admrgpch. If you run it and see that everything belongs to patch name 'merged,' you might want to change the selected column to ap.applied_patch_id instead of ap.patch_name.
select ap.patch_name
, ad.orig_patch_name
, ad.driver_file_name
, ad.merged_driver_flag
, ad.merge_date
, bug.bug_number
, cp.patch_abstract
from ad_applied_patches ap
join ad_patch_drivers ad using (applied_patch_id)
join ad_comprising_patches cp using (patch_driver_id)
join ad_bugs bug using (bug_id)
order by applied_patch_id;
Regards,
John P.
http://only4left.jpiwowar.com -
How to get list of VMs running under SCVMM using SCORCH activities
hello,
I am in learning phase on SCORCH...I wants to know steps required to get list of VMs running under SCVMM using SCORCH activities.
Thanks
Richa KMHi,
Here is a list of activities:
System Center Virtual Machine Manager Activities
Integration Packs for System Center 2012 - Orchestrator
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to get - List of all the ad hoc reports in BO 5.1?
Hi All,
I want list of all the ad hoc reports in BO 5.1.
Name of ad hoc report and user would be ideal.
How can i get? Does anybody know how to get the list?
Please help me.
Thanks in advance!
Amol MaliWrong forum. Please mnove or reporst to Legacy forum:
SAP BusinessObjects BI Legacy Products
Ludek -
How to get list of all JSF beans
How can one get a list of all JSF beans?
To get a particular JSF bean one does
static public Object findJSFBean(String beanName)
FacesContext fc = FacesContext.getCurrentInstance();
if (fc== null) return null;
ELContext elContext = fc.getELContext();
Application app = fc.getApplication();
ELResolver elResolver = app.getELResolver();
Object result = elResolver.getValue(elContext, null, beanName);
return result;
}Edited by: sn72 on Sep 2, 2008 5:49 PMsn72 wrote:
Several ways:
1) Store some key in the request scope indicating the "id" of the wizard.
2) Use a single session scoped bean which references all related session scoped beans so that you have a single main point of reference.
3) Consider conversation scope. Apache Orchestra and JBoss Seam have their solutions.1. Can you elaborate on this?On start of the wizard generate/assign some unique identifier which you pass to the next request everytime as a hidden parameter. Use this identifier to identify a separate 'wizard conversation scope'.
2. Yeah, this might work. But I'd need to have a common entry point (such as overriding doPost of the default faces servlet) to destroy the wizard bean whose pages have ended, which means hardcoding page names in my java code. Also, my wizard would have to register itself in this map. That's why this solution seems very much like what I was asking for originally -- that is, the session bean has a list of all wizard beans in it.Just destroying the session bean at its own ought to be sufficient. E.g. externalContext.getSessionMap().put("managedBeanName", null); destroys the session scoped bean associated with the specified managed bean name.
3. This is the ideal solution. Unfortunately, the documentation is not very good, and I could not find examples. Hopefully this will make its way into JSF 3.0.Can't help any much with this further. -
How to get List of all activated Info objects in sap BI production system
Hi Experts,
For my requirement I need list of all activated info objects in sap bi production system.
Can any body suggest any thing.Hi,
Check in the following table, all the below tables are for InfoObejct related only
RSDIOBJ -
Directory of all InfoObjects
RSDIOBJT------ Texts of InfoObjects
RSDIOBJ------- Directory of all InfoObjects
RSDIOBJT----- Texts of InfoObjects
RSDATRNAV------ Navigation Attributes
RSDATRNAVT----- Navigation Attributes
RSDBCHATR------ Master Data Attributes
RSDCHABAS------- Basic Characteristics (for Characteristics,Time Characteristics, and Units)
RSDCHA----
Characteristics Catalog
RSDDPA -
Data Package Characteristic
RSDIOBJCMP----
Dependencies of InfoObjects
RSKYF----
Key Figures
RSDTIM----
Time Characteristics
RSDUNI -
Units
Thanks
Reddy -
How to get list of all customers
Good Morning ,
I want to find out 1) LIST OF CUSTOMERS
2) CONTRACTS.
WHERE IS IT THAT I CAN VIEW ALL THE SALES ORDER AND WHERE DO I CHECK IN FOR TEH CONTRACT ANY T CODE , please guide me on this
RegardsYou can find out the list of all customers in the following database tables.
KNA1----General data
KNB1----Company code data
KNVV--Sales area data
KNVP---Partner function data
Sales orders and contracts can be found using the tables VBAK and VBAP. The status of the documents can be seen in VBUK, and VBUP
Contracts can be displayed in VA43 (VA41, VA42 and VA43)
Hope this helps.
Reward if this helps. -
How to get list of all class names in a package
hi,
how can i get all the names of classes in a specified package, for example, if i want to get all names of
classes in package java.util through java application.hi,
if u read my question with open eyes , i wrote " with java application" not with java API . -
How to get list of all the dates between two dates
Hi, Can anybody please help me ..
I have two dates in string format ("dd/MM/yyyy).I need to get all the dates in between these two dates.How can I do thin in java
Thanks in advanceLook at classes Calendar and SimpleDateFormat.
And get your abstraction straight: you don't have two dates. You have two Strings that represent a date. To use them, you have to convert them to Date objects first with SDF. -
How to get list of Pages in the Portal using JPDK API
Hi All,
I have number of JSP Pages binded in to different different war files deployed in to
OAS server and also resides inthe portlet repository.Now problem is I would like to show that pages in the one Page as in links format should be in horizontal links using JPDK.
Please help me out and any related examples which class will be solve the above problem.
Thanks & Regards
Sridhar Sabbani.Hi Sridhar,
Do you mean links to portlets dropped onto the portal page? Or do you wish to access the links directly (i.e., access the portlet directly) ?
thanks,
Harsha -
How to get SharePoint Search and offline Availability properties using powershell with CSOM
Hi,
I want to get the information about the SharePoint sites being crawled or not. I tried to get "Search
and offline Availability in SharePoint" settings properties but I couldn't get those properties.
I
followed below thread with no luck : http://www.c-sharpcorner.com/uploadfile/anavijai/search-and-offline-availability-in-sharepoint-2010/
I couldn't find $web.AllowAutomaticASPXPageIndexing property at site level
but i can see $list.NoCrawl at list level.
Can any body help me out to get those values?
Any help would be greatly appreciated.
Thank you.
AA.Hi,
Since AllowAutomaticASPXPageIndexing is a member in SPWeb members while not in Web members, we can not use Client Side Object Model with it. If you need to use it in client side, you need to create a web service for it.
https://msdn.microsoft.com/EN-US/library/microsoft.sharepoint.client.web_members.aspx
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb_members.aspx
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I want to get List of all active sessions in current system
Hi experts
How to get list of all active sessions in current system in any internal table along with details.
A sample code wud be helpful
Thanks in advance.try this code it might help u.
Below report execution gets the active Session list to ABAP memory
submit rsm04000_alv and return exporting list to memory.
refresh: gt_listobj.
Below FM get the List output from ABAP memory to gt_listobj in HEX
call function 'LIST_FROM_MEMORY'
tables
listobject = gt_listobj
exceptions
not_found = 1
others = 2.
if sy-subrc <> 0. " Executed successfully ?
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
This FM converts ITAB gt_listobj from HEX to ASCII
call function 'LIST_TO_ASCI'
tables
listasci = it_list
listobject = gt_listobj
exceptions
empty_list = 1
list_index_invalid = 2
others = 3.
if sy-subrc <> 0. " Executed successfully ?
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
This Shows the output in List format on screen
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_structure_name = 'line'
tables
t_outtab = it_list
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0. " Executed successfully ?
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif. -
How to get list of fonts on current system(forms6i)
Does anyone know how to get list of all available fonts on system. I want to add available fonts to list item (forms 6i) dinamicaly.
depending on what exactly you want to know:
System.getProperty("java.version")
System.getProperty("java.vendor")
System.getProperty("java.vm.version")
System.getProperty("java.vm.vendor")
System.getProperty("java.vm.name")
Nick.
Maybe you are looking for
-
Should I purchase PSE 8 for Mac on a CD or on a DVD?
What - if any - adcantage there is to buy the DVD version rather than the CD one? Thanks in advance.
-
Problem with black screen and crashes after installing windows 7 and bootcamp
K, so I partitioned my internal HD using Bootcamp, installed a new copy of Windows 7 Home, put in my Mac OSX disk and installed the additional stuff. I can successfully log in to Windows and open the browsers I have installed: Comodo dragon and Mozil
-
Only first plot of waveform chart has run-time menu
Hello again all you helpful forum-goers! My multi-plot waveform chart is working decently well, but now for some reason only the first plot in the plot legend displays a run-time customization menu when I click on it while the VI is running (allowing
-
Hi all, I have purchased a GE60 0ND and have added a 128GB Plextor SSD. may I know how can I fresh install the windows8 OS to SSD without the window8 installation disk/usb? I have tried to boot by the recovery disk but it seem like it will just resto
-
What BAPI's use the ERM of the SAP GRC AC 5.3 to create the roles in the R/
Hello, Does somebody knows what BAPI's use the ERM of the SAP GRC AC 5.3 to create the roles in the R/3? Thank you in advance. Pablo Mortera.