powershell:sql-server:powershell-one-line-solutions-for-common-sql-server-dba-tasks-more-complex-examples
Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия | ||
powershell:sql-server:powershell-one-line-solutions-for-common-sql-server-dba-tasks-more-complex-examples [29.11.2021 15:33] – создано Алексей Максимов | powershell:sql-server:powershell-one-line-solutions-for-common-sql-server-dba-tasks-more-complex-examples [30.11.2021 19:44] (текущий) – [Таблица] Пётр Окунев | ||
---|---|---|---|
Строка 12: | Строка 12: | ||
<code powershell> | <code powershell> | ||
| % -Begin {$a=@()} ` | | % -Begin {$a=@()} ` | ||
- | | + | |
+ | -end {$a} ` | ||
| select User, Role | ft -AutoSize -Wrap;</ | | select User, Role | ft -AutoSize -Wrap;</ | ||
Строка 43: | Строка 44: | ||
---- | ---- | ||
Проверено на следующих конфигурациях: | Проверено на следующих конфигурациях: | ||
- | ^ Версия ОС ^ Версия PowerShell ^ Версия SQL Server ^ | + | ^ Версия ОС ^ Версия PowerShell |
- | | Windows Server | + | | Windows Server |
---- | ---- |
powershell/sql-server/powershell-one-line-solutions-for-common-sql-server-dba-tasks-more-complex-examples.txt · Последнее изменение: 30.11.2021 19:44 — Пётр Окунев