I know this is a little late, but I might have a little insight. I just ran into this issue.
Testing with:
PS:>(get-process | select -first 1) | Select-Object -ExcludeProperty Id
I get:
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
1001 54 87644 117376 363 ...49.44 4080 CcmExec
But if I do:
PS:>(get-process | select -first 1) | Select-Object * -ExcludeProperty Id
__NounName : Process
Name : CcmExec
Handles : 1001
VM : 380211200
WS : 120193024
PM : 89747456
NPM : 55152
Path : C:\Windows\CCM\CcmExec.exe
Company : Microsoft Corporation
CPU : 14549.4375
FileVersion : 5.00.8239.1000 (SCCM.150414-0330)
ProductVersion : 5.00.8239.1000
Description : Host Process for Microsoft Configuration Manager
Product : System Center 2012 Configuration Manager
PriorityClass : Normal
HandleCount : 1001
WorkingSet : 120193024
PagedMemorySize : 89747456
PrivateMemorySize : 89747456
VirtualMemorySize : 380211200
TotalProcessorTime : 04:02:29.4375000
BasePriority : 8
ExitCode :
HasExited : False
ExitTime :
Handle : 3536
MachineName : .
MainWindowHandle : 0
MainWindowTitle :
MainModule : System.Diagnostics.ProcessModule (CcmExec.exe)
MaxWorkingSet : 1413120
MinWorkingSet : 204800
Modules : {System.Diagnostics.ProcessModule (CcmExec.exe), System.Diagnostic
s.ProcessModule (ntdll.dll), System.Diagnostics.ProcessModule (ker
nel32.dll), System.Diagnostics.ProcessModule (KERNELBASE.dll)...}
NonpagedSystemMemorySize : 55152
NonpagedSystemMemorySize64 : 55152
PagedMemorySize64 : 89747456
PagedSystemMemorySize : 304048
PagedSystemMemorySize64 : 304048
PeakPagedMemorySize : 502435840
PeakPagedMemorySize64 : 502435840
PeakWorkingSet : 957083648
PeakWorkingSet64 : 957083648
PeakVirtualMemorySize : 1173757952
PeakVirtualMemorySize64 : 1173757952
PriorityBoostEnabled : True
PrivateMemorySize64 : 89747456
PrivilegedProcessorTime : 00:24:54.5937500
ProcessName : CcmExec
ProcessorAffinity : 4095
Responding : True
SessionId : 0
StartInfo : System.Diagnostics.ProcessStartInfo
StartTime : 7/28/2015 3:07:01 AM
SynchronizingObject :
Threads : {3960, 4028, 5616, 5572...}
UserProcessorTime : 03:37:34.8437500
VirtualMemorySize64 : 380211200
EnableRaisingEvents : False
StandardInput :
StandardOutput :
StandardError :
WorkingSet64 : 120193024
Site :
Container :
I get everything but the Id property.
So, i think it has something to do with property sets. The property set overrides any select exclusion. This works for me as I want everything (*) but 3 properties. In your case, it might not be such a elegant solution. Creating your own property set/PSDefaultParameterValues
might be a better option.
https://technet.microsoft.com/en-us/library/hh847819.aspx?f=255&MSPPError=-2147217396