Two arrays are declared, one to hold the end result and one to iterate through the server roles:
Tags
#Agile #Docs #Powershell #SQL
Question
[default - edit me]
Answer
?
Tags
#Agile #Docs #Powershell #SQL
Question
[default - edit me]
Answer
Two arrays are declared, one to hold the end result and one to iterate through the server roles:
If you want to change selection, open document below and click on "Move attachment"
Documenting SQL Server with PowerShell - Simple Talk { try{ $server = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $inst } catch [Exception] { Write-Host "$_.Exception.GetType().FullName, $_.Exception.Message" -ForegroundColor Red } } <span>Two arrays are declared, one to hold the end result and one to iterate through the server roles: 1 2 3 4 5 # Create the result array $result = @() # Create the array for the server roles $serverRoles = @() To get the SQL Server logins, and associated server roles, we call the Login
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.