Azure PowerShell> Add-AzureAccount> Select-AzureSubscription "SubscriptionName"> New-AzureReservedIP -ReservedIPName "projectname-development-ip" -Lab...
分类:
其他好文 时间:
2015-11-08 14:24:59
阅读次数:
181
需求需求为清理AD中过期的帐号,本打算是直接清理90天未登录的帐号就可以了,结果领导又担心如果一些长期出差在外的人员怎么办,所以后面加了一个30天的邮箱判定,如果这个人90天未登录域,又30天未登录邮箱,那应该是可以清的了操作直接上正文,里面有注释#加域AD模块Import-M..
分类:
其他好文 时间:
2015-11-06 13:11:12
阅读次数:
570
iOS代码加密常用加密方式,常见的iOS代码加密算法包括MD5加密、AES加密、BASE64加密。三大算法iOS代码加密是如何进行加密的://///////////////////////////////////////////////////////////////// MD5 iOS代码加...
分类:
移动开发 时间:
2015-11-06 00:04:52
阅读次数:
233
有个需求:用户有一些邮件组不想要了,想删除,他自己整理了一下邮件组的中文名字和邮件组的邮件地址,可以通过一条命令简单的进行处理。操作很简单,具体可以看一下代码的备注#导入一个csv,文件,csv文件要求第一行写mail,以下每一行是一个邮件地址
Import-Csvc:\333.csv|fo..
分类:
移动开发 时间:
2015-11-05 16:52:24
阅读次数:
275
今天遇到一个问题,如何在Select-String的Pattern参数里能使用双引号比如 Select-String -path . -pattern "Lines: 100% " 是不能工作的查看了文档https://technet.microsoft.com/en-us/library/hh84...
分类:
系统相关 时间:
2015-11-04 11:14:40
阅读次数:
176
打开SharePoint 2013 Management Shell, and then run as administrator.执行如下命令1. 添加wsp和安装Add-SPSolution -LiteralPath "C:\DeployResource\WSP\test.wsp"Install...
分类:
系统相关 时间:
2015-11-03 19:41:32
阅读次数:
305
转载:http://www.cnblogs.com/kevin-top/archive/2010/07/01/1769351.htmlusingSystem;usingSystem.Text;usingSystem.Security.Cryptography;usingSystem.IO;names...
# This script configures the Hyper-V machines used for the 50331 Course.# PowerShell 3.0 and Windows Server 2012 or Windows 8 Pro are required to perf...
分类:
系统相关 时间:
2015-11-02 23:01:18
阅读次数:
365
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Mana...
分类:
Web程序 时间:
2015-11-02 22:44:29
阅读次数:
250
今天通过一个小例子,学习了C#如何调用PowerShell脚本文件的Function以及传参。 private bool CallPowershell(string outputFile) { string ddcHost = "test"; ...