Reboot date for windows

sylvain8
Tera Contributor

Hi community, 

I'm wondering why in the ootb discovery for OS, we do not find similar information across different OS. 

I understand that attributes specific for 1 OS are not visible everywhere. 

 

But what about reboot time ? 

On linux, an attribute called start_date is populated with the last reboot time (uptime -s), why there is not the same kind of data for windows, as it is pretty basic to fetch it as well, doing Get-CimInstance -ClassName win32_operatingsystem | select lastbootuptime does the job.

 

Would it make sense to create enhancement request ? 

 

thanks for your feedback !

sylvain

1 ACCEPTED SOLUTION

Hi @sylvain8 ,

 

I agreed, you can raise a enhancement Idea request on ServiceNow HI Portal to get this done in next release, that would be helpful for everyone.

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thank You

AJ - TechTrek with AJ

Linkedin:- https://www.linkedin.com/in/ajay-kumar-66a91385/

YouTube:- https://www.youtube.com/@learnitomwithaj

ServiceNow Community Rising Star 2024

View solution in original post

3 REPLIES 3

AJ-TechTrek
Giga Sage
Giga Sage

Hi @sylvain8 ,

 

Here not required to create a enhancement request, You can create the extension section pattern under the window -OS Server pattern or whatever which is triggering to discover the window server and you can use the same cammands to get the output. Using the extension pattern you can get those attribute which is not discovering or getting with OOB discovery pattern.

 

Refer the below useful links, which may helps you.

 

https://www.servicenow.com/community/itom-articles/extending-patterns/ta-p/2326816

https://checksumfailed.com/blog/discoverypatternextentions/#:~:text=A%20pattern%20extension%20provid....

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thank You

AJ - TechTrek with AJ

Linkedin:- https://www.linkedin.com/in/ajay-kumar-66a91385/

YouTube:- https://www.youtube.com/@learnitomwithaj

ServiceNow Community Rising Star 2024

thanks @AJ-TechTrek

you pointed the exact documentation.

however, my question was not how to do it but why there is no alignment between different OS pattern fetching common information. 

I presume it is better if ServiceNow can integrate this ootb instead of "everyone" doing the same extension. 

 

Hi @sylvain8 ,

 

I agreed, you can raise a enhancement Idea request on ServiceNow HI Portal to get this done in next release, that would be helpful for everyone.

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thank You

AJ - TechTrek with AJ

Linkedin:- https://www.linkedin.com/in/ajay-kumar-66a91385/

YouTube:- https://www.youtube.com/@learnitomwithaj

ServiceNow Community Rising Star 2024