CommandLine : ls CommandLine : ls|select -first 5 CommandLine : ls|select -first 5|%{$_GetType()} CommandLine : ls|select -first 5|%{$_.GetType()} CommandLine : ls|select -first 1|get-member CommandLine : ls|select -first 1|%{$_.GetFiles()} CommandLine : ls|select -first 5|%{$_.GetFiles()} CommandLine : ls|select -first 5|%{$_.GetFiles()}|format-table FullName CommandLine : ls|select -first 5|%{$_.GetFiles()}|format-table FullName,Extension CommandLine : ls|select -first 5|%{$_.GetFiles()}|sort -prop Extension|format-table FullName,Extension CommandLine : ls|select -first 5|%{$_.GetFiles()}|sort -prop Extension -desc|format-table FullName,Extension CommandLine : help sort* CommandLine : help sort-object CommandLine : help sort-object -detailed CommandLine : cd c:\temp CommandLine : $ary = 4,42,7,82 CommandLine : $ary.GetType() CommandLine : $ary CommandLine : $ary|sort CommandLine : $ary|sort -desc CommandLine : $site = new-object Micrsoft.SharePoint.SPSite("http://bi-vpc/devconnections08/posh/") CommandLine : [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") CommandLine : $asm = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") CommandLine : $site = new-object Micrsoft.SharePoint.SPSite("http://bi-vpc/devconnections08/posh/") CommandLine : $site = new-object Microsoft.SharePoint.SPSite("http://bi-vpc/devconnections08/posh/") CommandLine : $site.Url CommandLine : $web = $site.OpenWeb() CommandLine : $web.Url CommandLine : $web|gm CommandLine : $web|gm|more CommandLine : $web|gm|sort -prop Name CommandLine : $web|gm|?{$_.Name -like "Url*"} CommandLine : $item = $list.Items.Add($list.RootFolder.ServerRelativeUrl,1) CommandLine : $item["Title"] = "MyWorking" CommandLine : $item.Update() CommandLine : $item = $list.Items.Add($list.RootFolder.ServerRelativeUrl+"/MyWorkingFolder",0) CommandLine : $item["Title"] = "stuff" CommandLine : $item.Update() CommandLine : $list.Items.Add CommandLine : $list = $web.Lists["Docs"] CommandLine : $list.Items.Add CommandLine : $list.RootFolder.Files.Add CommandLine : [byte[]]$mydata = "asdfasdfasdf".ToCharArray() CommandLine : $Mydata CommandLine : ls CommandLine : cd C:\DevConnections\PowerShell CommandLine : ls CommandLine : cd TestUploadFiles CommandLine : ls CommandLine : explorer $pshome CommandLine : $list.RootFolder.Files|gm CommandLine : cd $pshome CommandLine : update-type -prepend JustAddCode.Types.ps1xml CommandLine : Update-TypeData -prepend JustAddCode.Types.ps1xml CommandLine : $list.RootFolder.Files|gm CommandLine : $list.RootFolder.Files.AddFile() CommandLine : $list.RootFolder.Files.AddFile CommandLine : $list.RootFolder.Files.FancyAddFile CommandLine : cd C:\DevConnections\PowerShell\posh.txt CommandLine : cd C:\DevConnections\PowerShell\TestUploadFiles CommandLine : ls CommandLine : ls CommandLine : ls|%{$list.RootFolder.Files.FancyAddFile($_)} CommandLine : notepad $profile CommandLine : powershell CommandLine : $list.Url CommandLine : $list.Items[0] CommandLine : $list.Items[0].Properties CommandLine : $list.Items[0].Properties["ContentType"] = "Dublin Core Columns" CommandLine : $item = $list.Items[0] CommandLine : $item.Properties["ContentType"] = "Dublin Core Columns" CommandLine : $item.Update() CommandLine : $item.Name CommandLine : $list = $web.List["MyList"] CommandLine : $list = $web.Lists["MyList"] CommandLine : $list.RootFolder.SubFolders CommandLine : $list.RootFolder.SubFolders["Attachments"] CommandLine : $list.RootFolder.SubFolders["Attachments"] CommandLine : $list.RootFolder.SubFolders["Attachments"].SubFolder["7"] CommandLine : $list.RootFolder.SubFolders["Attachments"].SubFolder["7"].Files CommandLine : $list.RootFolder.SubFolders["Attachments"].SubFolders["7"] CommandLine : $list.RootFolder.SubFolders["Attachments"].SubFolders["7"].Files CommandLine : ls|%{$list.RootFolder.SubFolders["Attachments"].SubFolders["7"].Files.FancyAdddFile($_)} CommandLine : ls|%{$list.RootFolder.SubFolders["Attachments"].SubFolders["7"].Files.FancyAddFile($_)} CommandLine : 1..10 CommandLine : $list.Items CommandLine : $list.Items.Count CommandLine : $list.Items|sort -prop Title