自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

pguo的专栏

SE 运维

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

转载 IIS 站点和应用程序池导入导出

Exporting and Importing Sites and App Pools from IIS 7 and 7.5 When using multiple IIS server in a Load Balanced Environment it will be alot of work to create all your website twice with the same se

2016-05-17 12:47:25 1368

转载 download and install Mongo db

# Taken from: http://blogs.msdn.com/b/daiken/archive/2007/02/12/compress-files-with-windows-powershell-then-package-a-windows-vista-sidebar-gadget.aspx function Extract-Zip { param([string]$zipfilena

2016-05-13 15:29:20 625

原创 Windows日志管理相关脚本

Ex.1: get-childitem c:\inetpub\logs\LogFiles -recurse | where {$_.lastwritetime -lt (get-date).adddays(-30) -and -not $_.psiscontainer} |% {remove-item $_.fullname -force -verbose} Ex.2: #

2016-05-13 15:19:01 928

转载 VM扩展名类型

.nvram This is the file that stores the state of the virtual machine's BIOS. .vmdk This is a virtual disk file, which stores the contents of the virtual machine's hard disk drive. .vme

2016-05-13 15:17:10 604

原创 Delete log files longer than 45 days

$DirectoryFiles = "D:\LogFiles" $FilesOlderThan = 45 $DeletedFiles = 0 $FilesNotDeleted = 0 $TempFiles = Get-ChildItem $DirectoryFiles -Recurse If ($TempFiles -ne $null) { foreach ($Files2Delete

2016-05-13 15:14:57 473

原创 Deploy NRPE config files

#定义服务器列表 $serverlist = Get-Content e:\test.txt #样本文件MD5值 $cfgmd5 = Get-MD5 c:\nrpe_nt\bin\Standard_nrpe_commands.cfg #定义CFG源文件 $scfg_file = "c:\deploy\Standard_nrpe_commands.cfg" #定义plugin源文件 $dplu

2016-05-13 15:13:37 471

原创 Powershell check server patch status

$hash=@{} $Session = New-Object -ComObject Microsoft.Update.Session $Searcher = $Session.CreateUpdateSearcher() $hash[$env:Computername] = $Searcher.QueryHistory(1,1) | select -ExpandProperty Date -Er

2016-05-13 15:04:45 599

ISO_IEC_17799

ISO17799安全文档,需要实施信息安全管理的必看。

2008-10-27

Dos下自动识别网卡

Dos下自动识别网卡型号,协助网卡驱动的自动识别安装。

2008-12-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除