<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mutougede的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mutougede</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mutougede]]></copyright><item><title><![CDATA[如何以管理员身份自动运行 程序]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/7408549</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/7408549</guid><author>mutougede</author><pubDate>Thu, 29 Mar 2012 19:49:01 +0800</pubDate><description><![CDATA[1. runas 命令要输密码，所以还是不行
2.创建shortcut，右击属性设置成管理员运行的话，直接点击可以以管理员身份运行，但是如果放到task 里面运行的话还是不行，最后运行的还不是管理员身份
3.用c#，参数可以自己穿，不过运行的话，UAC必须disable 掉
例如
using System;
using System.Collections.Generic;
using]]></description><category></category></item><item><title><![CDATA[Powershell环境变量]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/7320061</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/7320061</guid><author>mutougede</author><pubDate>Mon, 05 Mar 2012 11:16:08 +0800</pubDate><description><![CDATA[传统的控制台一般没有象Powershell这么高级的变量系统。它们都是依赖于机器本身的环境变量，进行操作 。环境变量对于powershell显得很重要，因为它涵盖了许多操作系统的细节信息。此外，powershell中的变量只存在于powershell内部的会话中，一旦powershell关闭，这些变量就会自生自灭。但是如果环境变量被更新了，它会继续保存在操作系统中，即使其它程序也可以调用它。
读]]></description><category></category></item><item><title><![CDATA[invoke-command 应用]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/6425024</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/6425024</guid><author>mutougede</author><pubDate>Mon, 16 May 2011 17:58:00 +0800</pubDate><description><![CDATA[$securePassword = ConvertTo-SecureString $password -AsPlainText -Force$credential = new-object Management.Automation.PSCredential($username, $securePassword)invoke-command -asjob -computername $clientName -credential $credential -scriptblock {    $path = $]]></description><category></category></item><item><title><![CDATA[about_Comparison_Operators]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/6188340</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/6188340</guid><author>mutougede</author><pubDate>Wed, 16 Feb 2011 16:02:00 +0800</pubDate><description><![CDATA[<br />TOPIC<br />    about_Comparison_Operators<br /><br />SHORT DESCRIPTION<br />    Describes the operators that compare values in Windows PowerShell.<br /><br />LONG DESCRIPTION<br />    Comparison operators let you specify conditions for comparing valu]]></description><category></category></item><item><title><![CDATA[powershell 管理证书命令]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5844930</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5844930</guid><author>mutougede</author><pubDate>Fri, 27 Aug 2010 23:50:00 +0800</pubDate><description><![CDATA[<br />http://technet.microsoft.com/en-us/library/cc772898(WS.10).aspx#BKMK_import_cert]]></description><category></category></item><item><title><![CDATA[Invoke-Command在本地和远程计算机上运行命令。]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5807947</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5807947</guid><author>mutougede</author><pubDate>Thu, 12 Aug 2010 21:14:00 +0800</pubDate><description><![CDATA[Invoke-Command在本地和远程计算机上运行命令。语法复制代码 Invoke-Command [-ScriptBlock]  [[-ComputerName] ] [-ApplicationName ] [-AsJob] [-Authentication { |  |  |  |  |  | }] [-CertificateThumbprint ] [-ConfigurationName ] [-Credential ] [-HideComputerName] [-JobName ] [-Port ]]></description><category></category></item><item><title><![CDATA[.....]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5740451</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5740451</guid><author>mutougede</author><pubDate>Fri, 16 Jul 2010 17:48:00 +0800</pubDate><description><![CDATA[<br />$programFolder = $env:ProgramFiles <br /> $AdfsPath = "`"" + $programFolder + "/Active Directory Federation Services 2.0/fsconfig.exe" + "`"" ]]></description><category></category></item><item><title><![CDATA[块变量作用域]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5699835</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5699835</guid><author>mutougede</author><pubDate>Mon, 28 Jun 2010 17:25:00 +0800</pubDate><description><![CDATA[<br />变量作用域用来定义程序中哪些部分可以使用某个变量。PowerShell中对象的作用域规则设计得很巧妙，类似变量，但是却更强大，在脚本块、函数和脚本边界传递。本文仅给出脚本块中作用域的清晰定义，其他有关函数和脚本文件的作用域会分其他系列文章中详细介绍。<br />变量作用域定义<br />作用域是计算机科学中用于定义变量可以在哪些代码区域中起作用，类似于命名空间。这种机制允许用于在不同的环境下使用相同命名的对象，这些对象不会因为命名相同而造成冲突。很少有语言不支持不同变量有不同作用域的概念，即每个]]></description><category></category></item><item><title><![CDATA[substring 用法]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5694351</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5694351</guid><author>mutougede</author><pubDate>Fri, 25 Jun 2010 16:23:00 +0800</pubDate><description><![CDATA[<br />定义和用法<br /> <br />substring（）方法用于提取字符串中介于两个制定下标之间的字符<br /> 语法stringObject.substring(start,stop)参数   描述start   必需。一个非负的整数，规定要提取的子串的第一个字符在stringObject中的位置stop   可选。一个非负的整数，比要提取的子串的最后一个字符在stringObject中的位置多1.如果省略该参数，那么返回的子串会一直到字符的结尾返回值<br /> 一个新的字符串，该字符串]]></description><category></category></item><item><title><![CDATA[Robocopy 用法]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5691765</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5691765</guid><author>mutougede</author><pubDate>Thu, 24 Jun 2010 15:49:00 +0800</pubDate><description><![CDATA[Windows提供的复制操作功能实在是太过简陋，可定制性又不强，在复制、移动、备份文件夹的时候，总要循环往复做多次操作。现在我们就向你介绍两款强力复制备份软件:Robocopy和XXCOPY，具体功能如何呢?这里不需多说，下面的实例会让你渐渐喜欢上它们。
<br />　　XXCOPY小档案<br />　　软件版本:2.85.3 软件大小:243KB<br />　　软件性质:免费软件 适用平台:Windows 9x/Me/NT/2000/XP<br />Robocopy小档案<br />　　软件版本:XP0]]></description><category></category></item><item><title><![CDATA[姐姐也有博客了]]></title><link>https://blog.youkuaiyun.com/mutougede/article/details/5691660</link><guid>https://blog.youkuaiyun.com/mutougede/article/details/5691660</guid><author>mutougede</author><pubDate>Thu, 24 Jun 2010 15:16:00 +0800</pubDate><description><![CDATA[<br />先让姐姐狂笑一阵子，哈哈哈，偶也有博客了<br />想说很多话，却不知道该从何说起<br /> <br />唉！正在很认真的思索着写什么的时候，突然背后发出点声音，晕死，我猛一扭头，两个脑袋正订着我的屏幕，等待着我写下文，被我发现后发出很大的笑声，然后杯具发生了，整个cube的同志们都跑到我这里看怎么回事。。。。。<br /> <br />第一篇处女博客就这样被夭折了，才写了2句话。。。<br /> <br /> <br /> ]]></description><category></category></item></channel></rss>