Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
- $smonode = New-Object Microsoft.SqlServer.Management.Smo.Server
- Get-ChildItem -Path $smonode.ErrorLogPath
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement