$credential = get-credential $uri = "http://tskm/apps/systemscatalog/_vti_bin/lists.asmx?WSDL" $listName = "Server Catalog" # Create xml query to retrieve list. $xmlDoc = new-object System.Xml.XmlDocument $query = $xmlDoc.CreateElement("Query") $viewFields = $xmlDoc.CreateElement("ViewFields") $queryOptions = $xmlDoc.CreateElement("QueryOptions") $query.set_InnerXml("FieldRef Name='Full Name'") $rowLimit = "1000" $list = $null $service = $null try{ $service = New-WebServiceProxy -Uri $uri -Namespace SpWs -credential $credential # -UseDefaultCredential } catch{ Write-Error $_ -ErrorAction:'SilentlyContinue' } if($service -ne $null){ try{ $list = $service.GetListItems($listName, "", $query, $viewFields, $rowLimit, $queryOptions, $null) } catch{ Write-Error $_ -ErrorAction:'SilentlyContinue' } } $output = $list.data.row foreach ($item in $output) { if ($item.ows_DeploymentStatus = "Production") { [string]$server=$item.ows_Title [string]$status=$item.ows_DeploymentStatus "$server - $status" } }
8/21/2014
Powershell: Get SharePoint List
Need to get a sharepoint list but don't have access to the server -- I just have a logon that is able to browse to the list.
In this example the list is named "Server Catalog." I retrieved the entire list and then selected entries with a specific value in a field named "DeploymentStatus"
NETMON CMD LINE
Run Windows Network Monitor from CMD
I had a confusing problem with Network Monitor 3.4. When I opened it, I got a warning about parsers not loading. Then the capture would not start saying the capture filter was invalid. Eventually I tried it from the command prompt and it worked.NMCap /network * /capture /file output.cap:50M
8/18/2014
Managing ADMX files… Windows Server 2008 R2 Domain Controller & Windows Server 2012 / Windows 8 Member Machines
Managing ADMX files… Windows Server 2008 R2 Domain Controller & Windows Server 2012 / Windows 8 Member Machines
From: KiloRoot From one of the 2008R2 DC's, visit the following links to update the ADMX files: Server 2012/8 Server 2012R2/8.1Windows 2012 R2 DC Setup Walkthrough
Walkthrough: Windows 2012R2 Domain Controller Setup
http://blogs.catapultsystems.com/drowe/archive/2014/03/24/installing-windows-2012-r2-domain-controller.aspxCisco ASA - peak concurrent vpn connections
Cisco ASA - Peak Concurrent VPN Connections
How many concurrent VPN connections have I ever had? From CLI:show vpn-sessiondb detail
Subscribe to:
Posts (Atom)