none
Script Help RRS feed

  • Question

  • Hi

    I am trying to use below script which is on my skydrive.

    http://1drv.ms/1rI4tX4

    But while running, getting below error:

    Can anyone please have look and help me to resolve this error.

    ================================error============

    WKS23250 : Ping Success

    [WKS23250] Connecting to remote server WKS23250 failed with the following error message : WinRM cannot complete the

    operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and

    that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM

    firewall exception for public profiles limits access to remote computers within the same local subnet. For more

    information, see the about_Remote_Troubleshooting Help topic.

        + CategoryInfo          : OpenError: (WKS23250:String) [], PSRemotingTransportException

        + FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionStateBroken

    Computer Restart initiated to logon with new userID logon

    WKS23250 :Restart SUCCESS

    Exception calling "AddWindowsPrinterConnection" with "1" argument(s): "The printer name is invalid. (Exception from

    HRESULT: 0x80070709)"

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : ComMethodTargetInvocation

        + PSComputerName        : WKS23250

    You cannot call a method on a null-valued expression.

        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

        + FullyQualifiedErrorId : InvokeMethodOnNull

        + PSComputerName        : WKS23250

    Default Printer Set To:

    Default Printer Name

    --------------------

    WebEx Document Loader

    Cannot validate argument on parameter 'Id'. The argument is null. Provide a valid value for the argument, and then try

    running the command again.

        + CategoryInfo          : InvalidData: (:) [Remove-PSSession], ParameterBindingValidationException

        + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.RemovePSSessionCommand

        + PSComputerName        : WKS23250

    Tuesday, September 30, 2014 2:01 PM

All replies

  • Hi,

    Considering that the issue should be related to the script, I suggest to post the question on Script Center forum for further help.

    Script Center forum:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home


    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. 

    Thanks for understanding.


    Kate Li
    TechNet Community Support

    Wednesday, October 1, 2014 5:23 AM
    Moderator