Skip to content

Commit 65348d8

Browse files
mcp
1 parent 4a760b5 commit 65348d8

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎content/page/mcp.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,14 @@ The book lessons were not re-tested, so each one names the chapter it came from
118118
ones that turn on a default or a parameter name say so outright. The judgement in them
119119
holds; check the command page before trusting a specific flag.
120120

121-
Platform support is the clearest case. Every command carries the same `Availability:
122-
Windows, Linux, macOS` in its help - `Get-DbaDiskSpace` and `Get-DbaFirewallRule`
123-
included, though both lean on WMI or remoting and do not work on Linux. The real answer
124-
is in [dbatools & SQL on Linux](https://dbatools.io/linux/), which the server does return
125-
for that question: the pure-SQL commands work, the ones that reach into Windows do not,
126-
and the article puts the split at about three quarters. Trust the article, not the field.
121+
Platform support is one place where the command pages are more accurate than the module.
122+
`Get-Help` in dbatools still says `Availability: Windows, Linux, macOS` for every
123+
command, `Get-DbaDiskSpace` and `Get-DbaFirewallRule` included, though both lean on WMI
124+
or remoting and do not work on Linux. The pages on this site work it out from the
125+
module's own list of Windows-only commands instead, so 159 of them now say *Windows
126+
only* and the rest say *Windows, Linux, macOS*. If an answer and a command page disagree
127+
about platform, trust the page. For the background, [dbatools & SQL on Linux](https://dbatools.io/linux/) explains the split: the
128+
pure-SQL commands work, the ones that reach into Windows do not.
127129

128130
**It knows nothing about you.** Not your SQL Server version, not which dbatools version
129131
you have installed, not your instances. Every answer is the general case.

0 commit comments

Comments
 (0)