Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Powershell - Accessing Individual WMI Instances

    You always get back all instances of a given WMI class when using Get-WMIObject. However, what if you just wanted to get a specific instance? Or you just wanted to find out how much space is left on drive C:? The next line gives you all drives: Read More
    Posted to Using WMI (Forum) by ps2 on 10-01-2009
    Filed under: Get-WMIObject
  • EventLog WMI

    So this is a script we used to get some event log infomation (the one additional thing it has over get-eventlog is it gets the location and actual size of files etc) The issue the file kinda worked (it was running over 24hrs with only a few results. After rebooting the machine the script would no longer...
    Posted to Using WMI (Forum) by adrian on 11-16-2009
    Filed under: WMI, PowerShell, Get-WMIObject
  • EnableStatic() long time out

    I have the following code I use to try to change the settings on our servers from dhcp to static. It gets "hung" up on the enablestatic() peice, I know its because after it changes the ip it looses the connection but how do I get Powershell to either fork off this command or time out earler...
    Posted to Using WMI (Forum) by adrian on 02-27-2010
    Filed under: WMI, Get-WMIObject, Remoting, Win32_NetworkAdapterConfiguration
  • How to list service properties for multiple services

    I know I can get the status of a service using this command: get-wmiobject win32_service |where {$_.name -match "bits"} to return all the properties I need (Name, StartMode, and State). ExitCode : 0 Name : BITS ProcessId : 820 StartMode : Manual State : Running Status : OK That's a good...
    Posted to PowerShell and WMI (Forum) by catt11 on 03-26-2012
    Filed under: win32_service, properties, get-wmiobject, service
Page 1 of 1 (4 items)
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.