Geo*_*ge2 1 powershell windows-services
我在Windows Server 2003 x64上使用PowerShell 1.0.执行以下语句时,下面有错误.并非每次发生此错误,并且如果发生此错误并且我再次执行此命令,则不会再出现错误!太奇怪了.有什么想法有什么不对?
Stop-Service "SQLServerAgent" -Force -ErrorAction:stop
WARNING: Waiting for service 'SQL Server Agent (MSSQLSERVER) (SQLSERVERAGENT)'
to finish stopping...
out-lineoutput : The OS handle's position is not what FileStream expected. Do n
ot use a handle simultaneously in one FileStream and in Win32 code or another F
ileStream. This may cause data loss.
Run Code Online (Sandbox Code Playgroud)
乔治,提前谢谢