header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Don Jones' TechNet Oct 2007 Article
Last Post 09 Nov 2007 04:36 PM by DonJ. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
deadonit1967User is Offline
New Member
New Member
Posts:1
Avatar

--
08 Nov 2007 09:16 PM  
I writing regarding your article in the above-mentioned magazine.  It was very informative.

In reviewing your article, you lost me.

I followed everything even creating a .txt file with, initially, the IP addresses of some computers on my network.  I then recreated the .txt file with the actual computer name.

I then "ran" the line on page 33 in the middle column just above the "Scary, isn't it?" line.

It gave me information based on the formatting.  However, it repeated the same information for all computers in the .txt file, reflecting the information on my local PC and not actually associated with any of the computers listed in the .txt file.

I then looked at your output in Figure 3.  Your outpost shows the same pattern.  It all repeats the logical disk freespace from the LOCALHOST machine and not from the computer names listed, MEDIASERVER and DON-PC.

So, what am I missing?  Why did this not actually get the info from the other machines?

Please advise.

DonJUser is Offline
PowerShell MVP
Basic Member
Basic Member
Posts:134
Avatar

--
09 Nov 2007 04:28 PM  
I'm going to move this post, since this forum is specifically for free tools from SAPIEN technologies. You're asking more of a general PowerShell question.
- Don Jones
www.ConcentratedTech.com
Subscribe (RSS) or visit for weekly PowerShell tips and lessons
DonJUser is Offline
PowerShell MVP
Basic Member
Basic Member
Posts:134
Avatar

--
09 Nov 2007 04:36 PM  
Okay... understand that I write these things about six months before you read them :) so I had to go dig up the back issue. Unfortunately I'm looking at the online version which doesn't have a page 33 or a middle column... so if I'm answering the wrong question, please accept my apologies.

The screen shot you noticed is because I use a kind of complex setup of virtual machines where each VM "sees" the same physical drives (think of them as clones).

So start with something like this:
"localhost","xp","server2" | % { gwmi win32_logicaldisk -computer $_ }

Substituting appropriate server names, just 3-4 of them as a test. Is that getting you results from different computers?

(BTW - please be patient with me if I'm slow in responding; I'm off to IT Forum in Spain and am going to be eight or nine hours off - thanks)

- Don Jones
www.ConcentratedTech.com
Subscribe (RSS) or visit for weekly PowerShell tips and lessons
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer