Home Dashboard Directory Help
Search

Get-WmiObject -computername length restriction by yhoni


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 788843
Opened: 5/29/2013 5:40:12 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Using PowerShell 2.0 on Windows Server 2008R2
When running the following cmdlet and query, the SystemName field returns blank when the computer name is 15 characters.

Get-WmiObject -computername server-test-001 -query "select systemname from Win32_volume"

I've tried single quotes, double quotes, square brackets, back quotes, en-dashes, and em-dashes. I've tried DNS aliases with shorter and friendlier names. The only thing that works is using a shorter machine name. svr-test-001 vice server-test-001.
Details
Sign in to post a comment.
Sign in to post a workaround.