< Back
Get-DbWmi
Post
NAME Get-DbWmi
SYNOPSIS
Creates a SQL Server SMO ManagedComputer object for a server.
SYNTAX
Get-DbWmi [-ComputerName] <String> [<CommonParameters>]
DESCRIPTION
Essentially a shortcut for a long object name. These objects can be used to inspect SQL Server related services
and their settings.
PARAMETERS
-ComputerName <String>
A computer name.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
A computer name.
OUTPUTS
A ManagedComputer object.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$wmi = Get-DbWmi .
RELATED LINKS
SYNOPSIS
Creates a SQL Server SMO ManagedComputer object for a server.
SYNTAX
Get-DbWmi [-ComputerName] <String> [<CommonParameters>]
DESCRIPTION
Essentially a shortcut for a long object name. These objects can be used to inspect SQL Server related services
and their settings.
PARAMETERS
-ComputerName <String>
A computer name.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
A computer name.
OUTPUTS
A ManagedComputer object.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$wmi = Get-DbWmi .
RELATED LINKS