Report for last seen machines
I'm trying to build a report to show all Serial numbers of machines, machine name, Top console user and when the machine last connected to the domain.
I have the first 3 sorted and working but I don't know what variable i'm looking for when trying to add a last logon.
I did add the additional attribute for the active directory discovery management for last logon but when that runs it gives me some stupid number like 3213201930219312 instead of a date/time.
The query I'm using at the moment is:
SELECT dbo.v_R_System_Valid.Netbios_Name0, dbo.v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP.TopConsoleUser0, dbo.v_GS_SYSTEM_ENCLOSURE.SerialNumber0,
dbo.v_R_System.lastLogon0
FROM dbo.v_R_System INNER JOIN
dbo.v_R_System_Valid ON dbo.v_R_System.ResourceID = dbo.v_R_System_Valid.ResourceID INNER JOIN
dbo.v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP ON dbo.v_R_System.ResourceID = dbo.v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP.ResourceID INNER JOIN
dbo.v_GS_SYSTEM_ENCLOSURE ON dbo.v_R_System.ResourceID = dbo.v_GS_SYSTEM_ENCLOSURE.ResourceID
Any ideas?
So that AD attribute is store in milliseconds (if I remember right) since Jan 1 1970. You will need to convert this to a date time format. The first thing to do is confirm the AD attribute's type and meaning then you should be able to find some query to
convert it into a date and time.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
Similar Messages
-
Queries Report For Last Purchased Price
Dear All,
Can someone helps me to get queries report for last purchased price vs new purchase price that recently being enter on purchased order.
Trigger by purchased order document posting and we can choose % variance
Report by order :
No. Document PO ; Vendor code ; Vendor Name ; Doc Posting Date ; Item code ; Item Name : New Purchased price ; Last Purchased Price; Variance; Buyer Name
i will used it on alert management.. each time there % variance automaticaly sending an email with those report.
ThanksSo.. is it the right query if i join it?:
SELECT T0.DocEntry, T1.CardCode, T1.CardName, T1.DocDate, T0.ItemCode, T0.Dscription, T0.PriceBefDi, T2.LastPurPrc, (T0.PriceBefDi - T2.LastPurPrc) AS Variance, ((T0.PriceBefDi - T2.LastPurPrc)/T0.PriceBefDi) AS 'Variance%', T3.SlpName FROM POR1 T0 INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
select * from opor where month(docdate) = MONTH(GETDATE()) and Year(docdate) = YEAR(GETDATE())
But i still find document with last month posting include on the report adn the report became different too -
How to make report for last 24 hours?
Hello,
I have a little problem, I can't make report for last 24 hours.
Example:
If I am running report on 2.1.06 at 14:00, I want to get results from 1.1.06 14:00 to 2.1.06 14:00.
How do i make a report with this selection?
Because,if I choose date from 1.1.06 to 2.1.06 and
hour 14:00 to 14:00, I will only get results on 1st and 2nd on 14:00.
If I choose 1.1.06 and 2.1.06, 14:00 to 24:00, I won't get results for 2.1.06 from 0:00 to 14:00.
Because all selections use AND to get results.
How can I choose that system compare selections with OR?
How can I get results for last 24 hours?
Best regards,
UrosHi,
define a structure in your query with two entries. First one with 1.1. and > 14:00 and second one with 2.2. and < 14:00. Perhaps you need to fill the structure by user exits.
Hope it helps,
Leo -
Hi,
Iam getting stad report for last one week,iam not getting the stad report for last month.i want to get stad report for particular day in last month.how to rectify the same.
ThankuHi,
rsau/local/file /usr/sap/LID/DVEBMGS00/log/
you will have to set DIR_AUDIT parameter instead of it.
Set the following parameter with reference value:
Parameter Description Reference Value
DIR_AUDIT Directory for security audit files S:\ECP-AUDIT\ECP\DVEBMGS00\ECP_security_audit_log
FN_AUDIT Name of security audit file ECP_AUDIT_++++++++.AUD
rsau/enable Enable the Security Audit Log 1
rsau/max_diskspace/local Maximum space for security audit file 2147483647
rsau/max_diskspace/per_day Maximum size of all security audit files per day (If you wish, otherwise let it be default '0')
rsau/max_diskspace/per_file Maximum size of one single security audit file (If you wish, otherwise let it be default '0')
rsau/selection_slots Number of filters to allow for the Security Audit Log (If you wish, otherwise let it be default '2')
rsau/user_selection Defines the user selection method used inside kernel functions (If you wish, otherwise let it be default '0')
activated profile in sm19,still iam not getting audit log for last week in sm20.
After Proper setting of Security Audit log parameters, the Application Server needs to be restarted to make the changes effective. You will only get the Audit Data since the activation of valid Security Audit parameter.
Regards,
Bhavik G. Shroff -
Whatsapp is not work for last seen timestamp
why dont work my whatsapp for last seen timestamp i try turn on but still not work because could not connect service please later again
Why not ask App developer or look at their support site, since you are using their app.
Not apple or iphone issue. -
BEx analyzer 7.0 Report for last 3 months and current month
I need to create a report for a key figure (net value) and character (material), 0calday
Output format:
column1 : net value - previous year
column2 : net value - current year
column3 : net value - current quarter (separate columns for 3 months)
column4 : net value - previous quarter (separate columns for 3 months)
column5 : net value - current month
column6 : net value - 1st of month to current date (separate columns for each day).
Please help.
Points will be assigned.
Thanks
Mary.Hi
U R infoprovider should have following time characterstics
0FISCAL YEAR, 0FISCAL MONTH/QTR
column1 : net value - previous year
On the basis of user input data derive the year and offset it by - 1 (VYEAR-1)and make a RKF for that .
column2 : net value - current year
On the basis of user input data derive the year(VYEAR) and
make a RKF for that .
column3 : net value - current quarter (separate columns for 3 months)
If QTR is there then derive the QTR on the basis of 0calday/else if month is there then determine month range like 1-3 = Q1 4-6 = Q2 and it will be done in user exit
column4 : net value - previous quarter (separate columns for 3 months)
On the same way as above u can determine the same
column5 : net value - current month
On the basis of 0calday determine CALMONTH and create a RKF for this
column6 : net value - 1st of month to current date (separate columns for each day).
Create a Exit variable type range on CALMONTH for this and
keep the range as 01-current month(which will be derivefrom 0calday)
Thanks,
Debasish -
Is there any standard report for capacity of machines used /ideal
Hi,,
i am interested in knowing any standard report which tells us how long is my machine ( work center) ideal and how many hours i have used during a period of say one month.
how can we use capacity planning and work scheduling in repetitive manufacturing . pls tell me a the procedure to be followed.
thanks in advance
regards
madan mohanHi,
thanks for your reply . but i am not able to get a report on total capacity available in the last month and capacity i have utilized for that month . so that i can derive my work center ideal time during that past month.this gives the time i have kept the machine ideal . Is there any standard report meeting this requirement.
pls give me some solution
regards
madan -
Report for last date of an activity
I'm running Crystal Server / Designer 2008 in conjunction with SAP Business One. I'm trying to create a report that will list all of my customers that have not been seen in the past 90 days. I have two tables that this report needs to be generated from for this. The first is the customer table. The second is the customer activity table. My problem lies in two areas. Anytime I set an activity type I'm searching for and there is not one it eliminates the customer from the list. The second has to query the date and if there hasn't been someone to see the customer in more than 90 days it eliminates them there too. Below are a few examples of what I'm trying to explain.
Customer A
No Activities in second table
Customer dropped from list
Customer B
No Activities of the type I'm looking for
Customer dropped from list
Customer C
Activities present but more than 90 days old
Customer dropped from list
Customer D
Activities less than 90 days old
Customer stays on list but need to hide it since they have been there oin the past 90 days.
To try to summarize I want to create a report of the cautioners our sales team have not been to see in the past 90 days.
Any direction would be appreciated.
Thanks,
ThomasSomething that might make Jason's #4 step easier to swallow: Leave the tables there, save the changes in the database expert, then modify all of the formula fields, summaries, etc. to use the fields from the command instead of the tables. The Field Explorer will not show a green checkmark on the table fields once they have all been changed. Then go back into the database expert and drop the tables.
You will find that by doing it this way, much of your formatting, etc, can be preserved. Virtually every instance of a table field use can be replaced by the command field's use without effecting any formatting changes. (Fields directly on the report, and the number of decimals on summary fields are the only two places where I noticed format info was not retained.)
Some hints: Summary fields on the report can be changed by right-clicking on the field and selecting Change Summary. Change the field being summarized in the pop-up. Groups can have the field changed by going into the Group Expert, selecting the field in the Group By: pane, pressing the Options button, and changing the referenced field. This will keep all of the group formats and their fields and formulas (like suppression). The formula fields are easily changed by pressing Control-F (Find) and doing a Find and Replace to substitute field names. Lastly, if the SQL Command field names are the same as the table field names, you only have to change the "table qualifier" in all of your formulas, which can change several different field references with on Find and Replace. (I just had to switch about a dozen reports from using Stored Procedures to using SQL Commands - which Crystal doesn't like to handle with the Change Data Source Location functionality - using this technique, and it took me less than an hour per report. And the reports weren't trivial...)
HTH,
Carl -
How to find the reporting for work center machine wise
hi gurus
My question is . In one work center machine capacity category 2 machines are used. Client is asking the report machine wise. i.e as 2 machines are available .What is the capacity utilisation for each machine.Provide me the information for this. Thanks in advance
kalyanHi Kalyan
you have to make some settings in production order & work center first.
In work center capacity header ,you have to make indiovidual capacities as 2.
In the same capacity header screen by going through the menu Goto--->individual capacitities define these different individual machines.
In the production order operation detail screen goto " capacity reqmt assignment " assign the quantities for different work centers.
Adfter this in the confirmation CO11N you have to fill the split field accordingly& confirm different wortk centers seoperatley.
Then you can the report in the CO14 for diferent work centers.
you try this.
Regards
YMREDDY -
Does CPS Provide Report for Last Time Page was modified?
Can someone who uses Adobe Contribute Publishing Server tell me if it will provide a report or some sort of log that I can run and get a list of all the dates pages were last published?
We would like this report so we can pinpoint users who haven't updated in awhile and notify them to update.
Thanks.That's what I needed to know.
In the meantime I did learn that you can create a folder on the desktop called ctnetperformancelog and it will log all activity in Contribute. I was able to do that and I am now getting useful data that I can use with a little bit of work to pull out what I need.
Dreamweaver doesn't meet my needs because the recently modified date changes every time I update a template. So it doesn't necessarily reflect the actual last date the page was modified. I want to know the last date one of my users edits a page and then sends it to me to publish.
I am not going to do with CPS at this time because I think my Contribute logs are good enough.
Thanks for responding. -
Report for Last receipt (GR) date
All SAP Gurus,
Is there any standard report available in which we can get last GR date of the material?
Regards,HI,
Please Check in Tcode: MB51.
Regards,
sai. -
Reports for Low disk space alerts in scom 2007
Dear Experts,
Is there any possible to get the Low disk Space alerts reports in SCOM 2007 R2.
1, I need reports for Last week SCOM sent alerts on Low Disk space for the servers list
2, Likewise I need SCOM Low disk space alerts reports for last month.
Can somebody please explain me with the steps and I played much with Reporting pane.
Thanks,
SaravanaHi,
The below code should work to get all servers that have alert of logical disk free space is low in specific period:
get-alert -criteria 'Name = ''Logical Disk Free Space is low'' AND TimeRaised >=''3/24/2014'' AND TimeRaised <= ''4/24/2014''' | select MonitoringObjectDisplayName,MonitoringObjectPath,Name,TimeRaised | sort MonitoringObjectDisplayName
Here is a similar thread for your reference:
how to create a report showing the servers that had the alerts of "Logical Disk Free Space is low" for a specific period?
http://social.technet.microsoft.com/Forums/en-US/50f2c3fb-2dfc-47c6-8c2a-8a2f0149df10/how-to-create-a-report-showing-the-servers-that-had-the-alerts-of-logical-disk-free-space-is-low?forum=operationsmanagerreporting
Regards,
Yan Li
Regards, Yan Li -
XL Reporter Report for comparison of last month and current month sales
Hi,
Our management requires an MIS report for comparison of sales in revenue and in terms of units for the last and the current month todate.
Is there a way to view this data for both the months together, without any user input?
Best Regards
JyotiJyoti,
I'll try and explain the XLR Report you'd need for this. This is isn't the best way to explain something like this, but I'll give it a shot.
- Put an expansion on Row 8 and choose all Items (*), click Apply
- In A8, put ItemCode
- In B8, put Item Name
- In C8, put Sales - A/R Row Total
- In D8,put Sales - A/R Row Total again
- Setup a Parameter
- Call it Period
- Dimension
- Financial Period
- In Column D, put a column Summary and click into Financial Period
- click the button to open the selection window
- click to the parameter tab
- select your parameter and click OK and click Apply
- In Column C, put a column Summary and click into Financial Period
- click the button to open the selection window
- click to the parameter tab
- in the bottom right corner, add a "-1" it should look like this @Period-1
- click OK and click Apply
- In C7 and D7 - choose Financial Period Code from formula builder
(so you can see the period code at the column header)
This will show sales by item in the current Period (column D) and previous Period (column C)
Hope that helps and at least gets you going. I can't guarantee those are perfect instructions from memory.
Brad Windecker
[Omega Business Solutions|http://www.omegagroup.com] -
Patch compliance report for all machines in collection
Good day to all,
We are trying to create a report in SCCM 2012 that will show us all missing updates on all computers in collection. But we would like to display in this report only patches which are really targeted to the machines in collection. Let me explain.
We have multiple deployment groups for patching (OSD, Servers, Client, Test waves...) and current issue we have with all build in reports is that you have to either select one of these deployments and then select a collections - but this will give you only
status for current group of patches, for another one you have to select different one. And if there is a report where you have to select only collection the it will show all updates which are in deployment (this is not nice as for OSD we are putting some extra
patches to the image and then these patches are shown as missing on all machines - but they will stay that way as we are not deploying them...yet). The ideal report for us will be to select the collection and then show all missing patches that are targeted
to that collection. This was accomplished by this query:
SELECT
vRS.NetBios_Name0 AS 'Hostname',
Count(DISTINCT vUI.ArticleID) AS 'Missing Patches'
FROM v_UpdateComplianceStatus vUCS
INNER JOIN v_CIRelation vCIR ON vUCS.CI_ID = vCIR.ToCIID
LEFT JOIN v_AuthListInfo vALI ON vALI.CI_ID = vCIR.FromCIID
INNER JOIN v_UpdateInfo vUI ON vUCS.CI_ID = vUI.CI_ID
LEFT JOIN v_R_System vRS ON vUCS.ResourceID = vRS.ResourceID
WHERE vUCS.ResourceID IN (SELECT vFCM.ResourceID FROM v_FullCollectionMembership vFCM WHERE vFCM.CollectionID = 'CAS00296')
AND vUCS.Status = '2'
AND vALI.Title LIKE 'SWU Workstations ENG%'
GROUP BY vRS.NetBios_Name0
ORDER BY 2
However, if we would like to add more columns, like Reboot Pending, Failed, Installed, Not Needed... then the report will start to show incorrect data, e.g. for machine which is fully patched and according to "Programs and Features - Show installed
updates" have 235 patches installed it will show only 198 patches installed and 10 missing.
It have something to do with JOINs between tables but we are at the end of ideas how to proceed further (we already checked the official documentation for SQL tables in new SCCM).
Have any of you created a report like this? I tried to Bing/Google for hours but most of the reports are for SCCM 2007 and showing incorrect data.Almost all SU reports created for CM07, still apply to CM12.
http://www.enhansoft.com/ -
II cannot download the latest update for Adobe Muse CC. I have been directed to this formum. I have an erro message "ERROR Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to the Adobe Muse CC team. Trying to instantiate UID U4691 but lastAllocatedUID is only: 4491 OK"
I am very frustrated because Muse crashes when cannot download updatres.
I have been redirected to this forum from the 'Adobe Chat Team'
I am trying to complete a project for a client, this is the second time I have asked for help. Can anyone please help me I
I am using Windows 7. I am not sure if a response will come. I am new to forums. Do I wait or will someone contact me?
Deb Kelleher
[email protected]Hi Deb,
Please accept my apologies for the inconvenience so far.
I am not sure if you already tried this, but in case not, try to update Muse via Creative cloud directly.
Start creative cloud application manager, if you dont have it, you can download it from here,
Adobe - Adobe Application Manager : For Windows : Adobe Application Manager
Login using your adobe id, once you are in, switch to Apps, and you should see the Update for Muse, click Update.
Let me know if you get any error or warning.
Thanks.
Maybe you are looking for
-
Extracting Open Items : Problem with mass activity FPBW
Hi everybody, I need to extract Open Items in BW. I use the extractor 0FC_OP_01 which extract the content of table DFKKOPBW in OLTP. Open Items are written in table DFKKOPBW by the mass activity FPBW. I have a problem with this mass activity : the fi
-
I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
-
Invoices not posted for accounting(Error:Max. no of items in FI is reached)
Dear Experts, I have an issue in the billing document.It is not getting posted for Accounting even it is 23(230)and in some cases it is 30 lines line items in it. It is shoing the error as Max. no of items in FI is reached. This problem is in Product
-
How can i get the answers of security question
how can i get the answers of the questions for mt apple id
-
Error: Report execution - CX_SY_DYN_CALL_ILLEGAL_FORM
HI, I have created simply query when i execute the report getting below error. kindly guide me. Error: ESubroutine call failed. Could not find the form SET_ICFL. EAn exception with the type CX_SY_DYN_CALL_ILLEGAL_FORM occurred, but was I>> Row: 4