PS C:\Windows\system32> Get-Service -DisplayName *network*
Status    Name                 DisplayName
------    ----                 -----------
Running   F5 Networks Com...   F5 Networks Component Installer
Stopped   F5TrafficSrv         F5 Networks Traffic Control Service
Stopped   napagent             Network Access Protection Agent
Running   Netman               Network Connections
Running   netprofm             Network List Service
Running   NlaSvc               Network Location Awareness
Running   nsi                  Network Store Interface Service
Stopped   p2pimsvc             Peer Networking Identity Manager
Stopped   p2psvc               Peer Networking Grouping
Stopped   WMPNetworkSvc        Windows Media Player Network Sharin...
PS C:\Windows\system32> Get-Service -name win* -Exclude winarm
Status    Name                 DisplayName
------    ----                 -----------
Stopped   WinDefend            Windows Defender
Running   WinHttpAutoProx...   WinHTTP Web Proxy Auto-Discovery Se...
Running   Winmgmt              Windows Management Instrumentation
Stopped   WinRM                Windows Remote Management (WS-Manag...
PS C:\Windows\system32> Get-Service -name win*
Status    Name                 DisplayName
------    ----                 -----------
Stopped   WinDefend            Windows Defender
Running   WinHttpAutoProx...   WinHTTP Web Proxy Auto-Discovery Se...
Running   Winmgmt              Windows Management Instrumentation
Stopped   WinRM                Windows Remote Management (WS-Manag...
PS C:\Windows\system32> Get-Service -name win* exclude winrm
Get-Service : A positional parameter cannot be found that accepts argument 'exc
lude'.
At line:1 char:12
+ Get-Service <<<< -name win* exclude winrm
    + CategoryInfo          : InvalidArgument: (:) [Get-Service], ParameterBin
   dingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell
   .Commands.GetServiceCommand
PS C:\Windows\system32> Get-Service -name win* -Exclude winarm
Status    Name                 DisplayName
------    ----                 -----------
Stopped   WinDefend            Windows Defender
Running   WinHttpAutoProx...   WinHTTP Web Proxy Auto-Discovery Se...
Running   Winmgmt              Windows Management Instrumentation
Stopped   WinRM                Windows Remote Management (WS-Manag...
PS C:\Windows\system32> Get-Service -name win* -Exclude winrm
Status    Name                 DisplayName
------    ----                 -----------
Stopped   WinDefend            Windows Defender
Running   WinHttpAutoProx...   WinHTTP Web Proxy Auto-Discovery Se...
Running   Winmgmt              Windows Management Instrumentation
PS C:\Windows\system32> Get-Service | Get-Member
   TypeName: System.ServiceProcess.ServiceController
Name                        MemberType      Definition
----                        ----------      ----------
Name                        AliasProperty   Name = ServiceName
RequiredServices            AliasProperty   RequiredServices = ServicesDependedOn
Disposed                    Event           System.EventHandler Disposed(System....
Close                       Method          System.Void Close()
Continue                    Method          System.Void Continue()
CreateObjRef                Method          System.Runtime.Remoting.ObjRef Creat...
Dispose                     Method          System.Void Dispose()
Equals                      Method          bool Equals(System.Object obj)
ExecuteCommand              Method          System.Void ExecuteCommand(int command)
GetHashCode                 Method          int GetHashCode()
GetLifetimeService          Method          System.Object GetLifetimeService()
GetType                     Method          type GetType()
InitializeLifetimeService   Method          System.Object InitializeLifetimeServ...
Pause                       Method          System.Void Pause()
Refresh                     Method          System.Void Refresh()
Start                       Method          System.Void Start(), System.Void Sta...
Stop                        Method          System.Void Stop()
ToString                    Method          string ToString()
WaitForStatus               Method          System.Void WaitForStatus(System.Ser...
CanPauseAndContinue         Property        System.Boolean CanPauseAndContinue {...
CanShutdown                 Property        System.Boolean CanShutdown {get;}
CanStop                     Property        System.Boolean CanStop {get;}
Container                   Property        System.ComponentModel.IContainer Con...
DependentServices           Property        System.ServiceProcess.ServiceControl...
DisplayName                 Property        System.String DisplayName {get;set;}
MachineName                 Property        System.String MachineName {get;set;}
ServiceHandle               Property        System.Runtime.InteropServices.SafeH...
ServiceName                 Property        System.String ServiceName {get;set;}
ServicesDependedOn          Property        System.ServiceProcess.ServiceControl...
ServiceType                 Property        System.ServiceProcess.ServiceType Se...
Site                        Property        System.ComponentModel.ISite Site {ge...
Status                      Property        System.ServiceProcess.ServiceControl...
PS C:\Windows\system32> Get-Service -name spooler
Status    Name                 DisplayName
------    ----                 -----------
Running   spooler              Print Spooler
PS C:\Windows\system32> Get-Service -name spooler -computername localhost
Status    Name                 DisplayName
------    ----                 -----------
Running   spooler              Print Spooler
PS C:\Windows\system32> Get-Service -name spooler -computername localhost | gm
   TypeName: System.ServiceProcess.ServiceController
Name                        MemberType        Definition
----                        ----------        ----------
Name                        AliasProperty     Name = ServiceName
RequiredServices            AliasProperty     RequiredServices = ServicesDependedOn
Disposed                    Event             System.EventHandler Disposed(System....
Close                       Method            System.Void Close()
Continue                    Method            System.Void Continue()
CreateObjRef                Method            System.Runtime.Remoting.ObjRef Creat...
Dispose                     Method            System.Void Dispose()
Equals                      Method            bool Equals(System.Object obj)
ExecuteCommand              Method            System.Void ExecuteCommand(int command)
GetHashCode                 Method            int GetHashCode()
GetLifetimeService          Method            System.Object GetLifetimeService()
GetType                     Method            type GetType()
InitializeLifetimeService   Method            System.Object InitializeLifetimeServ...
Pause                       Method            System.Void Pause()
Refresh                     Method            System.Void Refresh()
Start                       Method            System.Void Start(), System.Void Sta...
Stop                        Method            System.Void Stop()
ToString                    Method            string ToString()
WaitForStatus               Method            System.Void WaitForStatus(System.Ser...
CanPauseAndContinue         Property          System.Boolean CanPauseAndContinue {...
CanShutdown                 Property          System.Boolean CanShutdown {get;}
CanStop                     Property          System.Boolean CanStop {get;}
Container                   Property          System.ComponentModel.IContainer Con...
DependentServices           Property          System.ServiceProcess.ServiceControl...
DisplayName                 Property          System.String DisplayName {get;set;}
MachineName                 Property          System.String MachineName {get;set;}
ServiceHandle               Property          System.Runtime.InteropServices.SafeH...
ServiceName                 Property          System.String ServiceName {get;set;}
ServicesDependedOn          Property          System.ServiceProcess.ServiceControl...
ServiceType                 Property          System.ServiceProcess.ServiceType Se...
Site                        Property          System.ComponentModel.ISite Site {ge...
Status                      Property          System.ServiceProcess.ServiceControl...
PS C:\Windows\system32> Get-History
  Id   CommandLine
  --   -----------
   2   (get-count).count
   3   (Get-Command).count
   4   get-command service
   5   get-command *service*
   6   get-command *service*   -CommandType   cmdlet
   7   get-command *service*   -CommandType   application
   8   get-command *service*   -CommandType   cmdlets
   9   get-command *service*   -CommandType   cmdlets
  10   get-command *service*   -CommandType   cmdlets
  11   get-command *service*   -CommandType   cmdlet
  12   help get-ser
  13   cls
  14   help Get-Service -Examples
  15   help Get-Service -full
  16   cls
  17   help Get-Service -Detailed
  18   cls
  19   help Get-Service -Examples
  20   Get-Service
  21   Get-Service s*
  22   Get-Service s*,w*
  23   cls
  24   Get-Service -DisplayName *network*
  25   Get-Service -name win* -Exclude winarm
  26   Get-Service -name win*
  27   Get-Service -name win* exclude winrm
  28   Get-Service -name win* -Exclude winarm
  29   Get-Service -name win* -Exclude winrm
  30   Get-Service | Get-Member
  31   Get-Service -name spooler
  32   Get-Service -name spooler -computername localhost
  33   Get-Service -name spooler -computername localhost | gm
PS C:\Windows\system32> Invoke-Command 33
Invoke-Command : Parameter set cannot be resolved using the specified named par
ameters.
At line:1 char:15
+ Invoke-Command <<<< 33
    + CategoryInfo          : InvalidArgument: (:) [Invoke-Command], Parameter
   BindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Comma
   nds.InvokeCommandCommand
PS C:\Windows\system32> Invoke-Command 32
Invoke-Command : Parameter set cannot be resolved using the specified named par
ameters.
At line:1 char:15
+ Invoke-Command <<<< 32
    + CategoryInfo          : InvalidArgument: (:) [Invoke-Command], Parameter
   BindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Comma
   nds.InvokeCommandCommand
PS C:\Windows\system32> Start-Transcript