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...
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?
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 *...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.