Blog Archives

Delete List Items Powershell Script

$url = “http://portal.lab.local/”$listName = “Test” Write-Host “Starting…” $site = Get-SPSite $urlWrite-Host “Site Guid is:” $site.ID$web = $site.OpenWeb()$list = $web.Lists[$listName] Write-Host “List Guid is:” $list.ID “List Title is: ” $list.Title $listItems = $list.GetItems()$itemCount = $listItems.Count Write-Host “List Item Count is:” $itemCount

Rate this:

Tagged with: ,
Posted in 2010, PowerShell

NTLM auth module for Apache/Unix

NTLM auth module for Apache/Unix

Rate this:

Tagged with: ,
Posted in Computers and Internet, Windows

PowerShell Peformance: measure-command

measure-command{ dir C:\*.pdf } Using the Measure-Command Cmdlet: http://technet.microsoft.com/en-us/library/ee176899.aspx

Rate this:

Tagged with:
Posted in PowerShell, Web Client Software Factory (WCSF), Windows

Grab powershell version

$PSVersionTable

Rate this:

Tagged with:
Posted in PowerShell

iisapp Equivalent on Windows 2008 Server

%windir%\system32\inetsrv\appcmd.exe list wp

Rate this:

Tagged with: ,
Posted in Windows

Uninstall legacy printer driver

Click on Administrative Tools >> Print Management right click on legacy driver and select “Remove Driver Package…”

Rate this:

Tagged with: , , ,
Posted in Windows

150 Million Licenses of Windows 7 Sold

http://tinyurl.com/26upcva

Rate this:

Posted in Computers and Internet, Windows
Antek Group Blog
Categories