Hi,
I have a small issue, how to use both property and expand property at the same time. Though they are in same parameter set, i am unable to use it.
Select-Object [[-Property] <Object>] [-ExcludeProperty <string>] [-ExpandProperty <string>] [-First <int>] [-In
putObject <psobject>] [-Last <int>] [-Skip <int>] [-Unique] [<CommonParameters>]
Example: PS C:\Users\kvrpakkiragari> Get-Process powershell | Select-Object -Property * -ExpandProperty StartInfo
Verb :
Arguments :
CreateNoWindow : False
EnvironmentVariables : {temp, processor_revision, processor_level, logonserver…}
RedirectStandardInput : False
RedirectStandardOutput : False
RedirectStandardError : False
StandardErrorEncoding :
StandardOutputEncoding :
UseShellExecute : True
Verbs : {}
UserName :
Password :
Domain :
LoadUserProfile : False
FileName :
WorkingDirectory :
ErrorDialog : False
ErrorDialogParentHandle : 0
WindowStyle : Normal
getting output of only expand property.