. At the start of the function, we supply a parameter with the name of the SQL Server instance, and call the Load-Assembly function with the name of the assembly:
param
(
[Parameter(Mandatory = $true, Position=1)]
[ValidateNotNullOrEmpty()]
[string]$inst = $null
)
# Check if assembly is loaded
Load-Assembly -name 'Microsoft.SqlServer.SMO'
. At the start of the function, we supply a parameter with the name of the SQL Server instance, and call the Load-Assembly function with the name of the assembly:
param
(
[Parameter(Mandatory = $true, Position=1)]
[ValidateNotNullOrEmpty()]
[string]$inst = $null
)
# Check if assembly is loaded
Load-Assembly -name 'Microsoft.SqlServer.SMO'
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 |