Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BikeBoy2020

    SCOM REPORTING WOES

    I saw others have this problem as well: I have the collection rule based on the perf counter created. I can see it under Rules in console and also can find it in LocalizedText table in the database...but I can NOT add it to a report because I can't even find its MomUIGeneratedRule GUID under...
  2. BikeBoy2020

    what's the difference between DRIVE owner and admin with full control

    I witnessed an issue where I couldn't attach a SQL database when my LAN id was in local admins on the server, and I had full control, but when I made myself a drive owner I was successful. What's the difference?
  3. BikeBoy2020

    Get-DiskUsage.ps1

    You bet, here you go: <CODE> param ( [string]$computer = $args[0] , [switch]$all) # Formatting $size = @{ l = "Size (MB)"; e = { $_.Capacity/1mb}; f = "{0:N}"} $free = @{ l = "free (MB)"; e = { $_.freespace/1mb}; f = "{0:N}"} $perc = @{ l = "percent"; e = { 100.0 *...
  4. BikeBoy2020

    Get-DiskUsage.ps1

    I got the answer, problem is that Size method doesn't work with Win32_Volume, so I am using Capacity instead. It works.
  5. BikeBoy2020

    Get-DiskUsage.ps1

    I am trying to modify existing script to list all the drives/luns, including mounts. It outputs ok, BUT... Size is always in 0.000 and so Percent = Infinity. If I use win32_logicaldisk I get good result, but I need mounts as well, so I need win32_volume. Any ideas? param ( [string]$computer =...

Part and Inventory Search

Back
Top