Categories

Archives

PowerShell : Compress files with Windows an improved version

English When I am looking for a way to compress file(s) into Zip, I find a blog from David Aiken here (Compress Files with Windows PowerShell then package a Windows Vista Sidebar Gadget) . I will just focus on Add-Zip function and nothing more. Here is the original code:   function Add-Zip { param([string]$zipfilename) [...] [read more...]

SharePoint Designer: Visual Touch Using Using Conditional Formatting

English: Conditional formatting now becomes easier using SharePoint Designer 2010. We can create intelligent view which able to highlight some important pointer in the display. There are 3 types of conditional formatting: 1. Show content , show content based on the pre-specified conditions 2. Hide content , hide content based on the pre-specified [...] [read more...]

SharePoint 2010: Largest Number in SharePoint Numeric Column

English: So what is the largest number in SharePoint numeric column? Before we can answer this question, let take a look how SharePoint store the data in SQL table. By design, SharePoint will map specific column type in SharePoint into SQL data type; they are nvarchar, ntext, sqlvariant, int, float and bit. For example, true/false column will [...] [read more...]

PowerShell : How to overcome double-hop problem in PowerShell remoting

English: I am interesting to the PowerShell remoting topic from PowerShell Cookbook Chapter 29 here (http://www.pavleck.net/powershell-cookbook/ch29.html). In order to solve double-hop problem, it uses schedule task. The sample create schedule task to Enable-PSRemoting in remote machine. But don’t you think we need something more generic to overcome double-hop problem? PowerShell offers Enable-WSManCredSSP or Kerberos so that the [...] [read more...]