|
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64 User : ServerPC ( 0) PHP Version : 8.2.12 Disable Function : NONE Directory : C:/Windows/diagnostics/system/Networking/ |
Upload File : |
# Copyright (C) Microsoft Corporation. All rights reserved.
PARAM($SetAuto)
#include localization data
Import-LocalizedData -BindingVariable localizationString -FileName LocalizationData
if($SetAuto)
{
#make DPS automatic
Write-DiagProgress -activity $localizationString.progress_Repairing -status $localizationString.repair_SetAutoDPS
set-service dps -StartupType Automatic
}
#start the DPS service
Write-DiagProgress -activity $localizationString.progress_Repairing -status $localizationString.repair_StartDPS
start-service dps