MicrosoftDocs / windows-powershell-docs

This repo is used to contribute to Windows 10, Windows Server 2016, and MDOP PowerShell module documentation.
Creative Commons Attribution 4.0 International
444 stars 591 forks source link

why no documentation of the properties of this method? #573

Closed anwarmahmood1 closed 5 years ago

anwarmahmood1 commented 5 years ago

At least state that the type name is...

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Defender/MSFT_MpComputerStatus

...and this is documented at

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/defender/msft-mpcomputerstatus

I'm looking for what "ComputerState" property means; it should be explained here; if not, it should link as above.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

msbemba commented 5 years ago

@anwarmahmood1 Thank you for your Feedback. We have added the link to properties in this doc via PR# https://github.com/MicrosoftDocs/windows-powershell-docs/pull/736

o0nj commented 5 years ago

@coreyp-at-msft There is a proposed Pull Request regarding the issue. Please review. Thanks. #736

o0nj commented 5 years ago

@kenwith There is a proposed Pull Request regarding the issue. Please review. Thanks. #736

o0nj commented 5 years ago

@officedocsbot close

yerttle commented 5 years ago

Hi guys, I appreciate this issue is closed so feel free to direct me to create a new ticket.

However I am inttrested in creating an app that will report one the Windows Defender status and having a break down of the different computer state intigers would be very helpful. I appreciate the addtion of a link to the properties however there is no more detail for the computer state property.

image

megamih commented 5 years ago

Hi @anwarmahmood1 and @yerttle , Hope this can shed some light:

                #typedef enum tagAMCOMPUTER_STATE
                #        {
                #            CLEAN                    = 0,
                #            PENDING_FULL_SCAN        = 1,
                #            PENDING_REBOOT           = 2,
                #            PENDING_MANUAL_STEPS     = 4,
                #            PENDING_OFFLINE_SCAN     = 8,
                #            PENDING_CRITICAL_FAILURE = 16
                #        }