mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
11 lines
441 B
PowerShell
11 lines
441 B
PowerShell
# Validate the installation
|
|
$env:PSModulePath = Get-SystemVariable "PSModulePath"
|
|
$modules = Get-Module -Name SQLPS -ListAvailable
|
|
Write-Host "The SQLPS Modules present are:"
|
|
$modules | Select-Object Name,Version,Path | Format-Table
|
|
|
|
# Validate the SQLserver PS module installation
|
|
$modules = Get-Module -Name SQLServer -ListAvailable
|
|
Write-Host "The SQLServer Modules present are:"
|
|
$modules | Select-Object Name,Version,Path | Format-Table
|