Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
@echo off set status=0 cd C:\Program Files\PowerEdge Diagnostics\oldiags\bin pediags -? > nul if not %errorlevel%==0 ( echo Dell Poweredge Diagnostice is not installed or not in path exit 2 ) cd C:\Program Files\PowerEdge Diagnostics\oldiags\bin pediags raidctrl --show all |find "Device is working properly" >nul if %errorlevel%==0 set status=0 if %status%==0 ( echo Raid is OK exit 0 ) if %status%==1 ( echo Raid is DeGraded exit 1 )
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.