Last active
October 26, 2020 11:32
-
-
Save ghotz/bcc8248cc442c934337862b942371ba9 to your computer and use it in GitHub Desktop.
Verify Instant File Initialization status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- verify IFI status | |
| -- check with DMV where available | |
| SELECT | |
| @@SERVERNAME as server_name | |
| , servicename AS [service_name] | |
| , instant_file_initialization_enabled | |
| FROM sys.dm_server_services; | |
| -- check with undocumented SP otherwise | |
| EXEC xp_readerrorlog 0, 1, N'Instant File Initialization'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment