Enable-PSRemoting is not going smooth “PreviousErrCount”

Welcome Forums General PowerShell Q&A Enable-PSRemoting is not going smooth “PreviousErrCount”

Viewing 8 reply threads
  • Author
    Posts
    • #237382
      Participant
      Topics: 2
      Replies: 8
      Points: 7
      Rank: Member

      OS : Windows 2012 STD Build 9200
      I see this error on bunch of Windows 2012 STD.

       

      Here is the powershell Version running on Windows 2012 STD.

      PS C:\> $PSVersionTable
      
      Name                           Value
      ----                           -----
      PSVersion                      4.0
      WSManStackVersion              3.0
      SerializationVersion           1.1.0.1
      CLRVersion                     4.0.30319.18408
      BuildVersion                   6.3.9600.16406
      PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
      PSRemotingProtocolVersion      2.2
      

      Here is the complete output of “Enable-PSRemothing”, let me know if you need any other information.

      PS C:\Temp> Enable-PSRemoting
      
      WinRM Quick Configuration
      Running command "Set-WSManQuickConfig" to enable remote management of this computer by using the Windows Remote
      Management (WinRM) service.
      This includes:
      1. Starting or restarting (if already started) the WinRM service
      2. Setting the WinRM service startup type to Automatic
      3. Creating a listener to accept requests on any IP address
      4. Enabling Windows Firewall inbound rule exceptions for WS-Management traffic (for http only).
      
      Do you want to continue?
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"): A
      WinRM is already set up to receive requests on this computer.
      WinRM is already set up for remote management on this computer.
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"): A
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"): Y
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Set-PSSessionConfiguration" on target "Name: microsoft.powershell SDDL:
      O:NSG:BAD:P(A;;GA;;;BA)(A;;GA;;;RM)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD). This lets selected users remotely run Windows
      PowerShell commands on this computer.".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Set-PSSessionConfiguration" on target "Name: microsoft.powershell.workflow SDDL:
      O:NSG:BAD:P(A;;GA;;;BA)(A;;GA;;;RM)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD). This lets selected users remotely run Windows
      PowerShell commands on this computer.".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Set-PSSessionConfiguration" on target "Name: microsoft.powershell32 SDDL:
      O:NSG:BAD:P(A;;GA;;;BA)(A;;GA;;;RM)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD). This lets selected users remotely run Windows
      PowerShell commands on this computer.".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Set-PSSessionConfiguration" on target "Name: microsoft.windows.servermanagerworkflows SDDL:
      O:NSG:BAD:P(A;;GA;;;BA)(A;;GA;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD). This lets selected users remotely run Windows
      PowerShell commands on this computer.".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      PS C:\Temp>
      • This topic was modified 1 week, 6 days ago by Harish Munagapati. Reason: Updated Powershell Version
    • #237427
      Participant
      Topics: 6
      Replies: 104
      Points: 486
      Helping Hand
      Rank: Contributor

      Wow … looks messy. I always use

      Enable-PSremoting -Force

      Have you tried that?

    • #237508
      Participant
      Topics: 2
      Replies: 8
      Points: 7
      Rank: Member

      Yes, but no luck. here is the output.

      PS C:\Temp> Enable-PSRemoting -Force
      WinRM is already set up to receive requests on this computer.
      WinRM is already set up for remote management on this computer.
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      WARNING: Waiting for service 'Windows Remote Management (WS-Management) (winrm)' to stop...
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"): A
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"): Y
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      
      Confirm
      Are you sure you want to perform this action?
      Performing the operation "Remove variable" on target "Name: PreviousErrCount".
      [Y] Yes [A] Yes to All [N] No [L] No to All  Suspend [?] Help (default is "Y"):
      PS C:\Temp>
    • #237610
      Participant
      Topics: 3
      Replies: 421
      Points: 1,479
      Helping Hand
      Rank: Community Hero

      What if you reset it to default first?

      winrm invoke restore winrm/config @{}
      

      and/or reset plugins

      winrm invoke restore winrm/config/plugin @{}
      
      OR
      
      winrm invoke Restore http://schemas.microsoft.com/wbem/wsman/1/config/plugin @{}
      

      Then try to enable psremoting. If you need to run this remotely, you could use psexec. This is how I’ve done it forever.

      Psexec \\computername -accepteula -s cmd /c "echo . | winrm invoke restore winrm/config @{}"
      
      Psexec \\computername -accepteula -s cmd /c "echo . | powershell enable-psremoting -force"
      

      Hope this helps.

    • #238049
      Participant
      Topics: 2
      Replies: 8
      Points: 7
      Rank: Member

      Thanks for your reply. these commands didn’t work as is and still throwing an error.

      I missed to update PowerShell version in my original post and now I have updated it.

      these systems are using

      PSVersion 4.0

      Here is the output.

      PS C:\> winrm invoke restore winrm/config/plugin @{}
      Error: Invalid use of command line. Type "winrm -?" for help.
      PS C:\> winrm invoke restore winrm/config/plugin
      Restore_OUTPUT
      
      PS C:\> winrm invoke restore winrm/config
      Restore_OUTPUT
      
      PS C:\> winrm invoke restore winrm
      WSManFault
          Message = The WS-Management service cannot process the request. The resource URI (http://schemas.microsoft.com/wbem/
      wsman/1) was not found in the WS-Management catalog. The catalog contains the metadata that describes resources, or logi
      cal endpoints.
      
      Error number:  -2144108485 0x8033803B
      The WS-Management service cannot process the request. The resource URI is missing or it has an incorrect format. Check t
      he documentation or use the following command for information on how to construct a resource URI: "winrm help uris".
      PS C:\> winrm invoke restore config
      WSManFault
          Message = The WS-Management service cannot process the request. The resource URI (config) was not found in the WS-Ma
      nagement catalog. The catalog contains the metadata that describes resources, or logical endpoints.
      
      Error number:  -2144108485 0x8033803B
      The WS-Management service cannot process the request. The resource URI is missing or it has an incorrect format. Check t
      he documentation or use the following command for information on how to construct a resource URI: "winrm help uris".
      PS C:\> winrm invoke Restore http://schemas.microsoft.com/wbem/wsman/1/config/plugin @{}
      Error: Invalid use of command line. Type "winrm -?" for help.
      PS C:\> winrm invoke Restore http://schemas.microsoft.com/wbem/wsman/1/config/plugin
      Restore_OUTPUT
      
      
    • #238205
      Participant
      Topics: 3
      Replies: 421
      Points: 1,479
      Helping Hand
      Rank: Community Hero

      Try running them in an elevated command prompt as well. Based on the errors it seems your system may be missing required files/settings. Any chance you can upgrade to WMF 5.1?

    • #238907
      Participant
      Topics: 2
      Replies: 8
      Points: 7
      Rank: Member

      I was tried in an elevated prompt itself. upgraded to WMF 5.1 resolved. But I cannot upgrade on all the systems.

    • #239123
      Participant
      Topics: 3
      Replies: 421
      Points: 1,479
      Helping Hand
      Rank: Community Hero

      How about just running 7? It installs side by side with older versions, basically just an exe. It may just as well have the same issue. If not, would it work for your purpose? They wouldn’t be upgradingĀ šŸ™‚

    • #239789
      Participant
      Topics: 2
      Replies: 8
      Points: 7
      Rank: Member

      Re-installation of WMF 4.0 fixed the issue.

      I’ll try your recommendation on another system and let you know the outcome.

Viewing 8 reply threads
  • You must be logged in to reply to this topic.