예제 #1
0
        public override void Configure(IOfferLocalOperations onLocalMachine, ConDepSettings settings)
        {
            onLocalMachine.ToEachServer(server => {
                server
                .Configure
                .OnlyIf(x => x.OperatingSystem.Name.StartsWith("Windows"))
                .IIS();

                server
                .OnlyIf(x => x.OperatingSystem.Name.StartsWith("Windows"))
                .Execute.PowerShell("write-host ''");
            }
                                        );
        }
        public override void Configure(IOfferLocalOperations local, ConDepSettings settings)
        {
            local.HttpGet("http://www.con-dep.net");
            local.ToEachServer(server =>
                {
                    server
                        .Configure.IIS();

                    server
                        .Execute.PowerShell("ipconfig");
                }
            );
            local.HttpGet("http://blog.torresdal.net");
        }
예제 #3
0
        public override void Configure(IOfferLocalOperations local, ConDepSettings settings)
        {
            local.HttpGet("http://www.con-dep.net");
            local.ToEachServer(server =>
            {
                server
                .Configure.IIS();

                server
                .Execute.PowerShell("ipconfig");
            }
                               );
            local.HttpGet("http://blog.torresdal.net");
        }
        public override void Configure(IOfferLocalOperations onLocalMachine, ConDepSettings settings)
        {
            onLocalMachine.ToEachServer(server => {

                server
                    .Configure
                        .OnlyIf(x => x.OperatingSystem.Name.StartsWith("Windows"))
                            .IIS();

                server
                    .OnlyIf(x => x.OperatingSystem.Name.StartsWith("Windows"))
                    .Execute.PowerShell("write-host ''");

            }
            );
        }
예제 #5
0
 public override void Configure(IOfferLocalOperations local, ConDepConfig config)
 {
     local.HttpGet("http://www.con-dep.net");
     local.ToEachServer(server => server.ExecuteRemote.PowerShell("ipconfig"));
     local.HttpGet("http://blog.torresdal.net");
 }