Check System Protection via PowerShell?

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 10 Enterprise 22H2
       #1

    Check System Protection via PowerShell?


    Hello Everyone

    I work in an IT department and recently we have a need to check if system protection is turned on, on specific devices.
    Now instead of remote connecting with MSRA/RDP to each machine and keeping customers out of work, I'm trying to find a way of using remote PowerShell to check it.

    Just for some clarity, the windows 10 setting I am referring to is under Settings > System > About > System Properties > System Protection

    Has anyone found a neat way of checking this remotely?
      My Computer


  2. Posts : 5,330
    Windows 11 Pro 64-bit
       #2

    You can view restore points with below command.
    Code:
    Get-ComputerRestorePoint
      My Computer


  3. Posts : 9
    Windows 10 Enterprise 22H2
    Thread Starter
       #3

    Hi, thanks, I tried that command already but i don't seem to be getting any output.
    Attached Thumbnails Attached Thumbnails Check System Protection via PowerShell?-10-04-2024-no.554.jpg  
      My Computer


  4. Posts : 5,330
    Windows 11 Pro 64-bit
       #4

    Maybe because there are no restore points, i have executed the command, and it listed all restore points on my system.
      My Computer


  5. Posts : 9
    Windows 10 Enterprise 22H2
    Thread Starter
       #5

    Hi, sorry I think there might be some confusion. It is expected for there not to be restore points on the machines, however I want to check the protection status. Below is an example of what I need to check.

    Check System Protection via PowerShell?-image-2-.png
      My Computer


  6. Posts : 805
    Windows 10 Home
       #6

    Do mean you want something like this?

    Get-MpComputerStatus | Select-Object AntivirusEnabled

    This command will display whether the antivirus protection is enabled or not. If it returns True, your system is protected by Windows Defender
      My Computer


  7. Posts : 9
    Windows 10 Enterprise 22H2
    Thread Starter
       #7

    Thank you,
    Does that AV status correspond to the system protection?
    Because I saw that command you posted somewhere before but I didn't think that was what I was looking for.
      My Computer


  8. Posts : 26
    Windows 10
       #8

    Hi All

    Just happened to see this thread as well

    Can anyone maybe help me understand the following : Protection Settings - I see there is a photo in one of the comments - Does this refer to the AV status or the Restore Point Status ?

    When i google these i get mixed answers ?

    Hopefully someone can guide me in correctly understanding this ?
      My Computer


  9. Posts : 805
    Windows 10 Home
       #9

    TurboSlow45 said:
    Thank you,
    Does that AV status correspond to the system protection?
    Because I saw that command you posted somewhere before but I didn't think that was what I was looking for.
    This is what is says in it's entirety.

    To check the status of Windows Defender and ensure that all shields and protection are active, you can use PowerShell. Here’s how:

    1. Open PowerShell as an administrator:

    ◦ Type “PowerShell” in the Windows search bar.

    ◦ Right-click on “Windows PowerShell” in the results and select “Run as administrator.”

    ◦ Click “Yes” at the permissions prompt.

    2. Run the following command to get the Windows Defender status information:

    Get-MpComputerStatus | Select-Object AntivirusEnabled

    This command will display whether the antivirus protection is enabled or not. If it returns True, your system is protected by Windows Defender12.

    Remember that PowerShell cmdlets provide powerful control over Microsoft Defender Antivirus settings, scans, and more.
      My Computer


  10. Posts : 5,330
    Windows 11 Pro 64-bit
       #10

    TurboSlow45 said:
    Hi, sorry I think there might be some confusion. It is expected for there not to be restore points on the machines, however I want to check the protection status. Below is an example of what I need to check.

    Check System Protection via PowerShell?-image-2-.png
    Knowing if there are restore points in creation will give you an idea of if System Protection enabled or disabled, other than that i have no clue.

    See List of All Available System Restore Points in Windows
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:46.
Find Us




Windows 10 Forums