@echo off
rem ### “Copyright (10/21/2009) (3/20/2011) Intel Corporation All Rights Reserved.        ##
rem ###                                                                                   ##
rem ### The source code, information and material ("Material") contained herein is        ##
rem ### owned by Intel Corporation or its suppliers or licensors, and title to such       ##
rem ### Material remains with Intel Corporation or its suppliers or licensors. The        ##
rem ### Material contains proprietary information of Intel or its suppliers and           ##
rem ### licensors. The Material is protected by worldwide copyright laws and treaty       ##
rem ### provisions. No part of the Material may be used, copied, reproduced, modified,    ##
rem ### published, uploaded, posted, transmitted, distributed or disclosed in any way     ##
rem ### without Intel's prior express written permission. No license under any patent,    ##
rem ### copyright or other intellectual property rights in the Material is granted to     ##
rem ### or conferred upon you, either expressly, by implication, inducement, estoppel     ##
rem ### or otherwise. Any license under such intellectual property rights must be         ##
rem ### express and approved by Intel in writing.                                         ##

rem ### Unless otherwise agreed by Intel in writing, you may not remove or alter          ##
rem ### this notice or any other notice embedded in Materials by Intel or Intel’s         ##
rem ### suppliers or licensors in any way.”                                               ##


call winrm quickconfig < y.txt
call winrm set winrm/config/client @{AllowUnencrypted="true"}
call winrm set winrm/config/client @{TrustedHosts="*"}