Get-WssComputer

Get-WssComputer

Gets device information objects for the computers in a network.

Syntax

Get-WssComputer [ <CommonParameters>]

Detailed Description

The Get-WssComputer cmdlet gets the device information objects for the computers in a network. A DeviceInfo object contains the properties for a computer. The cmdlet gets DeviceInfo objects for servers, clients, and archived clients. An archived client is a backup of a computer that is no longer part of the network.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.WindowsServerSolutions.Common.Devices.DeviceInfo

    A DeviceInfo object contains all the properties for a computer in the network.

Examples

Example 1: Get properties for computers in a network

This command gets the DeviceInfo objects for the computers in the network.

PS C:\> Get-WssComputer

Remove-WssComputer