Get-WMIObject - Query to get the corresponding distribution point of a client.
Can some one help me with a Get-WMIObject command which can query the Distribution Point of a Machine.
The query should give me the DP name where the machine is pointing to.
Abraham ----------------------------- Knowledge is Power
If the Client is up and running then you can parse the LocationServices.log ...it should
have a most recent entry like below.
Distribution Point='\\<FQDN of the DP>\SMSPKGD$\ABC00AD5\', Locality='LOCAL', DPType='SERVER', Version='6487', Capabilities='<Capabilities SchemaVersion="1.0"/>', Signature=''
Hope this helps
Knowledge is Power{Shell}.
Similar Messages
-
Can I get a query to get the output data like 4th column instead of 3rd col
Can I get a query to get the output data like 4th column instead of 3rd column ?
SQL> select emp.deptno, empno, rownum from emp, dept where emp.deptno=dept.deptno;
DEPTNO EMPNO ROWNUM
10 7782 *1* *1*
10 7839 *2* *2*
10 7934 *3* *3*
20 7369 *4* *1*
20 7876 *5* *2*
20 7902 *6* *3*
20 7788 *7* *4*
20 7566 *8* *5*
30 7499 *9* *1*
30 7698 *10* *2*
30 7654 *11* *3*
30 7900 *12* *4*
30 7844 *13* *5*
30 7521 *14* *6*
14 rows selected.SQL> select emp.deptno, emp.empno,
2 row_number() over(order by emp.deptno, emp.empno) rn,
3 row_number() over(partition by emp.deptno order by emp.empno) dept_rn
4 from emp, dept
5 where emp.deptno=dept.deptno
6 order by emp.deptno, emp.empno;
DEPTNO EMPNO RN DEPT_RN
10 7782 1 1
10 7839 2 2
10 7934 3 3
20 7369 4 1
20 7566 5 2
20 7788 6 3
20 7876 7 4
20 7902 8 5
30 7499 9 1
30 7521 10 2
30 7654 11 3
30 7698 12 4
30 7844 13 5
30 7900 14 6
14 rows selected.Regards,
Dima -
Hi, just tried to upgrade to 11.2 but now when I try to open itunes I get an error message saying "the procedure entry point ADiAdID_acquirematchslotifnecessary could not be located in the dynamic link library iAdCore.dll". Any suggestions for a non techy person?
See Troubleshooting issues with iTunes for Windows updates.
Try the repair tip in the third box first.
tt2 -
When I click on the Mozilla icon on my desktop, I get the error message "The procedure entry point is Threaddesktopcomposited could not be located in the dynamic link library USER32.dll.
== This happened ==
Every time Firefox opened
== I upgraded to the new version of firefox today (7/16/10)This issue can be caused by a problem with the file c:\windows\system32\dwmapi.dll
The file dwmapi.dll is a Vista file and should not be present in Windows XP.
http://support.microsoft.com/kb/969155 - On a Windows XP-based computer with Family Safety installed, you receive an error message: “The procedure entry point IsThreadDesktopComposited could not be located in the dynamic link library USER32.dll” -
Just installed the latest version of Mozilla Firefox and now can't get into Firefox due to the following error message, The procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsglite3.dll.
Just installed the latest version of Mozilla Firefox and now can't get into Firefox due to the following error message, The procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsglite3.dll.
-
Hello guys,
I am new to illustrator and am trying to trace one of my scanned sketches on Illustrator CC. I have been watching tutorials on Youtube.com and have followed every step, but when it comes to using the pen tool, I receive a pop up message reading, "Please use the add anchor point tool on a segment of a path." I researched Adobe forums and came across another discussion with someone who had the same problem. After making the changes that people suggested to the other person's discussion, the problem still occurred with me. I am still getting the same message even after making sure I have deselected Snap to grid, etc. Can anyone please help me out!?It sounds to me like you're using the Add Anchor Point tool instead of the Pen tool. If you are trying to trace a scanned sketch, you'll be creating content from scratch in which case you want to use the Pen tool. The Add Anchor Point tool can only modify an existing path, it can't create one. Switch to your Pen tool and see if that helps.
-
How to get the procedure/query details for the corresponding transaction id
Hi,
Is it possible to know the transaction details like (procedure/query) from the correcponding local transaction ID? (for eg:10.10.50935)
I am working on ORA-01591 issue (lock held by in-doubt distributed transaction) and got the details of in-doubt transactions from dba_2pc_pending view. Further I would like to get additional details about the procedure name and query who is triggering the issue.
ThanksHi Sybrand,
The response is not of much help. Can you please tell me in more detail.
Suppose a transaction is completed long back (say 5 days ago) and I have a transaction id with me. I would like to know the correcponding procedure/query associated with that transaction id.
Is it really possible to find out old transaction details from any view? -
I'm puzzled. Scenario is SBS 2008 with some web applications published to the internet over https. Users who access these have the SBSCertificate.cer (expiry 2018) installed in the Trusted Root Certificates store for their local PC. This used to work
fine, and in fact it still works fine for me, from my own non-domain joined PC connecting over the internet. However some users are now getting a "certificate revoked" error and cannot connect to the applications. Using Certificate Manager on these
client PCs, the properties for this certificate state that it is revoked. It is not in fact revoked, but the CRL is on a local network that is inaccessible from outside (no VPN). Why is this certificate accepted as OK by some external PCs, but not by others,
what is the setting that determines this?
TimHi Tim,
Based on your description, would you please let me confirm something more?
1. "However some users are now getting a "certificate revoked" error and cannot connect to the applications."
Please let me know the complete error message.
2. Based on your description, I understand that this issue just occurred in some client computers. Other computers still run as normal. Would you please compare some configurations
of the problematic computer with a good one? Any update, please feel free to let me know.
Please refer to the following KB and articles and check if can help you.
IIS returns HTTP "403.13 Client Certificate Revoked"
error message although certificate is not revoked
Understanding
Certificate Revocation Checks
How Certificate Revocation Works
Hope this helps.
Best regards,
Justin Gu -
Query to get the customer's ship_to Phone# and Fax#
Gurus -
Can anyone of you please help me in getting a query to shows the phoen and fax# of the Customer's ship_to Phone# and fax#
customers--> on Address tab ( click open) On next screen click on contacts tabe for SHIP_TO row , there under the communications section, there are telephone and fax details , i want to get those details.
Please help me in getting the query to get the fax and phone#.
Infact I am using the below query and still having issues getting the correct fax# ( using teh same logic for phone#)
select DISTINCT DECODE(PHONE_AREA_CODE,NULL,'',PHONE_AREA_CODE||'-')||PHONE_NUMBER
FROM hz_cust_accounts_all hca,
hz_parties hzp1,
hz_cust_acct_sites_all hcas,
hz_cust_site_uses_all hcsu,
hz_relationships hzr,
hz_org_contacts hoc,
hz_contact_points hcp,
hz_parties hzp,
hz_cust_accounts_all hca1,
hr_locations hrl
WHERE 1 = 1
AND hca.party_id = hzr.object_id
AND hzr.relationship_id = hoc.party_relationship_id
AND hoc.party_site_id = hcas.party_site_id
AND hcas.cust_acct_site_id = hcsu.cust_acct_site_id
AND hzr.party_id = hcp.owner_table_id
--AND hcp.primary_flag = 'Y'
AND hzr.subject_id = hzp.party_id
AND hzp.party_id = hca1.party_id(+)
AND hzp1.party_id(+) = hca.party_id
AND hcsu.location = hrl.location_id(+)
and hcsu.site_use_id = hsu.site_use_id
AND hcp.OWNER_TABLE_NAME IN ('HZ_PARTIES')
AND hcp.CONTACT_POINT_TYPE IN ('PHONE')
AND hcp.PHONE_LINE_TYPE = 'FAX'
AND hcp.STATUS = 'A'
and nvl (hcsu.status, 'x') = 'A'
AND hcsu.SITE_USE_CODE = 'SHIP_TO'
--and hcsu.site_use_id = hsu.site_use_id
-- and hcsu.cust_acct_site_id = hsu.cust_acct_site_id
--and hca1.cust_account_id = hca.cust_account_idWhat is the responsibility name? Form name and navigation path?
You can determine the query from the form itself as follows:
- Query the record(s)
- Click on Help > Diagnostics > Examine
- Under 'Block' field, select 'SYSTEM'
- Under 'Field' field, select 'LAST_QUERY'
You may also review the following note:
Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=259722.1 -
Why am I getting this App Store message:
The product distribution file could not be verified. It may be damaged or was not signed.I had the same problem. Spoke to Apple support who directed me to Itunes support. Frustrating to say the least. Some have said remove virus barrier. I did and still nothing. Some posts have said to delete App store. DON'T DO IT.. App store is tuff to get back. This did work for me. Go to Finder, then go, pick go to folder, type in, /var/folder, and delete (send to trash). There were 2 folders I had to delete, KX & XX, and as soon as I sent them to the trash they returned but I was able to download & intall Mountain Lion and working well. Good luck..
-
Access denied when running Get-WmiObject -Class Win32_SystemServices -ComputerName ServerName
When I run the following powershell WMI command
Get-WmiObject -Class Win32_SystemServices -ComputerName SRV_XYZ
I get the following error:
Get-WmiObject : Access denied
At line:1 char:14
+ Get-WmiObject <<<< -Class Win32_SystemServices -ComputerName SRV_XYZ
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], Managemen
tException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
ommands.GetWmiObjectCommand
Note that, using the same user I run the previous command, I also run the following command, but this completes successfully with no errors:
Get-WMIObject -query "select * from Win32_ComputerSystem" -computername SRV_XYZ
Note also that SRV_XYZ is a remote server.
The Question is: what additional permission I should give the current user on that SRV_XYZ remote server to be able to run the first WMI command remotely and successfully?Still accesee denied ! ... I tried to chnage win32_systemservices to win32_service but it gave me the same error.
Regardless of whither it is a usable class or not! my question is related to authentication and permission that needed to be granted to the current user to be able to remotely run Win32_SystemServices or Win32_service.
Note that running any of the commands with domain admin rights completes successfully. -
Oracle query for getting discrepancy equip codes
I need help in getting a query for discrepancy equip_code
select distinct eq.dept_id,eq.drive_id,equip_code,eq.qc_subtype_id,staff_id
from qc_equipment_used eq, qc_daily qc
where eq.drive_id = qc.drive_id
and trunc(eq.create_time) = '06-aug-2012'
and out_of_service = 'N'
and eq.qc_subtype_id in (1026,1012)
and eq.drive_id = 'DRV2016637'
DEPT_ID|DRIVE_ID|EQUIP_CODE|QC_SUBTYPE_ID|STAFF_ID
95|DRV2016637|HEMORYA121|1012|0011
95|DRV2016637|HEMORYA121|1026|0011
95|DRV2016637|HEMORYA148|1012|0011
I need help in getting a query to show the user that
95|DRV2016637|HEMORYA148|1012|0011
was qc'd in the morning but not in the evening for 1026You still refuse to read {message:id=9360002} and follow the Forum Etiquette?
How sad for you, since less volunteers will help you. -
Get-WmiObject -class win32_product doesn't list all installed Applications
Hello
in my test win server 2012 R2 datacenter, i have installed some applications such as mozilla firefox, Advanced renamer, office, Acrobat reader.
Get-WmiObject -class win32_product
Get-CimInstance -class win32_product
when i run either of the following commands to get the list of all installed Applications, system doesn't list some of them in result . for example office & Google chrome & some others
are shown but Mozilla Firefox & Advanced renamer & some others
are not !
a searched a lot but found nothing.
any idea?You need to run as 32 bit to get the 32 bit applications like firefox and Acrobat. Run a 32 bit session and the alternates will be available or...get a script that can read this from the registry
https://gallery.technet.microsoft.com/scriptcenter/Get-Installed-Application-615fa73a
¯\_(ツ)_/¯
thanks for great guide.
i also fund these:
http://myitforum.com/cs2/blogs/gramsey/archive/2011/01/25/win32-product-is-evil.aspx
https://gallery.technet.microsoft.com/scriptcenter/Get-RemoteProgram-Get-list-de9fd2b4 -
Please help
Read Hi, just tried to upgrade to 11.2 but now when I try to open itunes I get an error message saying "the procedure entry point ADiAdID_acquirematchslotifnecessary could not be located in the dynamic link library iAdCore.dll". Any suggestions?
-
Query name at the tope of the page in web report
HI,
i have created a web template for my Query.after executing how do i get my Query description at the top of the page?
regardshi,
can use the 'caption' property ?
or add 'text-element' web item, and choose 'list of text element' with 'general text symbol(COMMON)' for 'element type' and REPTXTLG for element ID ?
following docs may useful for WAD development
(version 3.0 and 3.5)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13dc9190-0201-0010-71a4-a9f56cdfcc72
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d390d990-0201-0010-8682-ab35fc4d3322
hope this helps.
Maybe you are looking for
-
XML input stored in normalized tables
We have a system in place already, but have just found out that we'll be receiving some files intended for dataloads in XML format. Where should I start looking for documentation on how to process these files? Most of the docs I've seen so far have t
-
Thinkpad X300 with windows xp sp2 gets blue screen after standby.
We have a Thinkpad X300 (with windows xp sp2) gets blue screen after standby. I mean after you close the lid then open it. Anyone has see this kind of behave before? Thanks,
-
Anyone else expierencing problems with touch
I've had my player(20GB) for two months. Its worked fine so far. Recently however i've had problems with the touchpad, at first it wouldn't work sporadically, but by dint of reseting the player or simply waiting a few minutes the pad would work again
-
Hi, I have an iphone3 but the unlock slider at the bottom of the screen stopped working. Thought it might be a software problem so have synced it with itunes and tried to select "restore". Get a message saying "iphone software update server could not
-
Fail to install Oracle9i on Solaris
Hi, I am a green hand for Solaris. When I tried to install oracle9i on Solaris, it says 'no enough disk space'. However, the hard disk of that machine is 72G. Can anybody tell me how to enlarge the available disk for Oracle9i installer? Thank you ver