http://stackoverflow.com/questions/2520775/how-to-group-files-by-date-using-powershell
Get-ChildItem \\10.10.10.1\myweb\inetpub\work\finished -Recurse | Group { $_.LastWr
iteTime.ToString("yyyy-MM-dd hh") } | Sort Name | Format-Table Name, Count -auto
2012/12/13
PowerShell: 刪除目錄內小於某個日期的所有檔案
Get-ChildItem \\10.10.10.1\data\upload\pic -Recurse | Select-Object FullName, LastWriteTime | Where-Object { $_.LastWriteTime -lt '2012/11/30 23:59:59' } | % { Remove-Item $_.FullName -Recurse -Force -Verbose }
2012/11/21
Powershll 對於特殊符號目錄的處理
參考資料:
http://surroundingthecode.wordpress.com/2010/04/17/powershell-file-names-special-characters-frustration-eventually/
http://surroundingthecode.wordpress.com/2010/04/17/powershell-file-names-special-characters-frustration-eventually/
2012/10/30
2012/04/27
Update Windows Path Without Rebooting
http://www.nerdydork.com/update-windows-path-without-rebooting.html
Open a comment window and type SET PATH=%PATH%;C:\CmdShortcuts
Open a comment window and type SET PATH=%PATH%;C:\CmdShortcuts
訂閱:
文章 (Atom)
-
首先你要先安裝好informix的ODBC Driver並且設定可以連結到informix db。開啟Enterprise Manager後,找到連結伺服器(SQL Server群組-->安全性),按右鍵「新增連結伺服器」: 提供者名稱:Microsoft OLE DB P...
-
Opener window : openerwindow.html <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...
-
簡單整理一下今天看到的這篇文章, 未來可以用指標來改善團隊狀況。 ----- 軟體工程的重要的指標 DORA 指標 (DevOps Research Assessment) 1. 部署頻率: 產品多快發佈出去 2. 投入到交貨的時間 (Lead-Time For Ch...