This method does internal /// buffering, so `rd` can supply TLS messages in arbitrary- /// sized chunks (like a socket or pipe might). Expand All @@ -502,7 +502,7 @@ impl ClientSession { pub fn write_tls(&mut self, wr: &mut io::Write) -> io::Result<()> { self.imp....
Based on your situation, we can use following Powershell command to check if "PendingReboot" is true or false. Invoke-WmiMethod -Namespace "ROOT\ccm\ClientSDK" -Class CCM_ClientUtilities -Name DetermineIfRebootPending If the "PendingReboot" is false, we can refer to below link to refresh ...