< # .SYNOPSIS This script gets a list of non-working hardware using WMI. .DESCRIPTION This script re-implements another TechNet Scripting Gallery script that was written in VB (see ...
# Determine-Domain.ps1 # Uses Win32_ComputerSystem to determine the domain this computer is in # Recoded sample 1 from http://msdn.microsoft.com/en-us/library/aa394586 # Thomas Lee - tfl@psp.co.uk # Get details of this computer $computer = Get - WmiObject - Class Win32_ComputerSystem # Display details...