-
< # .SYNOPSIS This script gets/displays the Sysgtem Uptime after converting it from WEBM time/date format .DESCRIPTION This script creates an instance of a SWbemDateTime object, ...
-
< # .SYNOPSIS This script registers for a WMI event .DESCRIPTION This script used PowerShell to register for then display an event. This script is a re-write on an MSDN Sample. .NOTES ...
-
< # .SYNOPSIS This script displays all the namespaces withing a Windows system .DESCRIPTION This script uses Get-WMIObject to retreive the names of all the namespaces within a system. .NOTES ...
-
< # .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 ...
-
< # .SYNOPSIS This script gets the reverse lookup zone from a DNS Server and displays all the systems registered .DESCRIPTION This script first gets the reverse lookup zone from a DNS Server (i.e. ...
-
< # .SYNOPSIS This script gets and displays the description of a WMI Class. .DESCRIPTION This script takes a WMI Class name as a parameter. The script then gets the class 's description from the CIM repository...
-
< # .SYNOPSIS This script restarts the DNS Service on a Remote System .DESCRIPTION This script uses WMI to reach out and restart the DNS DNS service on a remote machine. in my home environment, ...
-
< # .SYNOPSIS This script uses WMI to print a test page all printers on this system .DESCRIPTION This script is an MSDN sample,using PowerShell. It first gets all the printrs installed...
-
< # .SYNOPSIS Uses Win32_Fan class to return information about fans in a system. .DESCRIPTION This script first defines some functions to decode various WMI attributed from binary...
-
< # .SYNOPSIS Demonstrates use of the Win32_PingStatus WMI class .DESCRIPTION This script is a community content MSDN sample,using PowerShell .NOTES File Name ...
-
< # .SYNOPSIS Disables active network cards .DESCRIPTION This script looks at each network card that is currently IP enabled, and disables it by releasing the DHCP Lease. To re-enable the network interrace, ...
-
< # .SYNOPSIS Gets time from WMI and displays it .DESCRIPTION This script gets Win32_LocalTime and then displays the details. .NOTES File Name : Get-WMILocalTime.ps1 ...
-
In yesterday’s PowerShell script of the day entry,posted over on my PowerShell scripts blog , I re-implemented an MSDN sample (originally written in VBScript) that calculates up time. The script first used a WMI class (Win32_OperatingSystem) to determine when a computer started. Then the script gets...
-
< # .SYNOPSIS Demonstrates uptime using WMI .DESCRIPTION This script used Win32_ComputerSystem to determine how long your system has been running. This is a rewrite/improvement of sample 3 at ...
-
< # .SYNOPSIS Determine if a computer screen saver requires a password. .DESCRIPTION This script is a re-write of script 2 on the MSDN site (see below for link). This script also displays the user name for ...