Actualiser Set-WallpaperPowerBGInfoGlobal.ps1
This commit is contained in:
@@ -88,8 +88,7 @@ if (Get-Service W3SVC -ErrorAction SilentlyContinue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# SQL
|
# SQL
|
||||||
if (Get-Service MSSQLSERVER -ErrorAction SilentlyContinue -or
|
if (Get-Service -Name "MSSQL*" -ErrorAction SilentlyContinue) {
|
||||||
Get-Service | Where-Object {$_.Name -like "MSSQL*"} ) {
|
|
||||||
$Roles += "SQL"
|
$Roles += "SQL"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user