代码改变世界

阅读排行榜

C#6语法糖

2017-02-17 16:43 by 络绎, 730 阅读, 收藏,
摘要: Static Using static using声明允许直接调用静态方法而不需要指定类名: C# 5 C# 6 Expression-Bodied Methods 使用expression-bodied methods,一个只有一句statement的函数可以使用lambda写法。 C# 5 C# 阅读全文

How to sign a Powershell Script

2011-12-29 11:52 by 络绎, 666 阅读, 收藏,
摘要: Pre-requestBefore sign a power shell script file, you need prepare your certificate. There are some ways to get certificate –Get certificate from CA;Generate certificates with some tools like makecert.exe. Here we take this way to generate certificate.Generate certificateStart makecert.exeWe use mak 阅读全文

Import VMWare Template to VMM

2011-12-31 16:25 by 络绎, 553 阅读, 收藏,
摘要: Pre-Environment Windows server scx-vmmserver with VMM Server/Console installed. 2 hosts. One host vmware with installed VCenter, another host ESX installed VMWare. Host ESX managed by host vmware. Bo... 阅读全文

Backup and Restore the VMM Database

2012-01-04 17:00 by 络绎, 452 阅读, 收藏,
摘要: Backup the VMM database1. Launch SCVMM Console, connect it with VMM server2. Click Settings to open Settings -> Home page, click Backup to open Virtual Machine Manager Backup3. On Virtual Machine Manager Backup wizard, enter the Backup destination path. Notice the path must be accessible by SQL s 阅读全文

OM PowerShell Comdlet Error

2010-10-17 14:44 by 络绎, 384 阅读, 收藏,
摘要: (一)问题出现之前的操作step1: 安装最新版的OM;step2: 从daily update中获得最新的几个dll,并拷贝之,Dll list如下:    Microsoft.EnterpriseManagement.Core.dll    Microsoft.EnterpriseManagement.OperationsManager.dll    Microsoft.EnterpriseM... 阅读全文