| Author | Paul Boyer |
|---|---|
| external help file | psvault-Utilities-help.xml |
| Module Guid | 0ba23f80-06be-4ccc-a218-05969d5e5b5e |
| Module Name | psvault-Utilities |
| online version | |
| schema | 2.0.0 |
PowerShell implementation of quser.exe
Query-Users [-ShowIndicator] [<CommonParameters>]
Returns a table of logged on users, and the logon time as a a workable PowerShell Custom Object [System.Management.Automation.PSCustomObject]
Query-Users
Query-Users -ShowIndicator
Switch parameter to print the logged on user indicator in the table
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Paul Boyer 2-23-21
https://stackoverflow.com/questions/39212183/easier-way-to-parse-query-user-in-powershell