Good blog on Cisco networking and Microsoft stuff
Jeff's Blog
Showing posts with label Links. Show all posts
Showing posts with label Links. Show all posts
4/14/2015
7/21/2014
1/02/2014
Dealing with WMI Timeouts — Steven Murawski
Dealing with WMI Timeouts — Steven Murawski: Dealing with WMI Timeouts
Get-WmiCustom (aka: Get-WMIObject with timeout!) - musc@> $daniele.work.ToString() - Site Home - MSDN Blogs
Get-WmiCustom (aka: Get-WMIObject with timeout!) - musc@> $daniele.work.ToString() - Site Home - MSDN Blogs: Unfortunately, the Get-WmiObject cmdlet does not let you specify a timeout. Therefore I cooked my own function which has a compatible behaviour to that of Get-WmiObject, but with an added “-timeout” parameter which can be set.
Function Get-WmiCustom([string]$computername,[string]$namespace,[string]$class,[int]$timeout=15)
{
$ConnectionOptions = new-object System.Management.ConnectionOptions
$EnumerationOptions = new-object System.Management.EnumerationOptions
$timeoutseconds = new-timespan -seconds $timeout
$EnumerationOptions.set_timeout($timeoutseconds)
$assembledpath = "\\" + $computername + "\" + $namespace
#write-host $assembledpath -foregroundcolor yellow
$Scope = new-object System.Management.ManagementScope $assembledpath, $ConnectionOptions
$Scope.Connect()
$querystring = "SELECT * FROM " + $class
#write-host $querystring
$query = new-object System.Management.ObjectQuery $querystring
$searcher = new-object System.Management.ManagementObjectSearcher
$searcher.set_options($EnumerationOptions)
$searcher.Query = $querystring
$searcher.Scope = $Scope
trap { $_ } $result = $searcher.get()
return $result
}
12/20/2013
Simulating Network Labs using GNS3 and VMware on your PC: - GeexHQ
Simulating Network Labs using GNS3 and VMware on your PC: - GeexHQ: Simulate 2 virtual Cisco routers using GNS3 and connect them using Ethernet.
Get the PDF linked at the end of the above article!
Get the PDF linked at the end of the above article!
11/21/2013
Website/URL/Link Scanner Safety Check for Phishing, Malware, Viruses [results: DOMAIN.com] - ScanURL.net
Website/URL/Link Scanner Safety Check for Phishing, Malware, Viruses [results: domain.com] - ScanURL.net: Enter a URL/link (web address) or website/domain below, and we'll see if it's been reported for phishing, hosting malware/viruses, or poor reputation.
ALSO - it includes a long list of links to other resources at the bottom of a search.
ALSO - it includes a long list of links to other resources at the bottom of a search.
urlquery.net - Free URL scanner
urlquery.net - Free URL scanner: urlQuery.net is a service for detecting and analyzing web-based malware. It
11/07/2013
Exporting all that useful VM information with PowerCLI » WoodITWork.com
Exporting all that useful VM information with PowerCLI » WoodITWork.com: Exporting all that useful VM information with PowerCLI
1/08/2013
12/31/2012
2/23/2012
Mapped Drive Connection to Network Share May Be Lost
Mapped Drive Connection to Network Share May Be Lost: Mapped Drive Connection to Network Share May Be Lost
2/19/2012
1/17/2012
9/26/2011
9/04/2011
Wildcard mask in ACLs
http://www.subnet-calculator.com/wildcard.php
Can be a real pain when I do in a hurry. Secured a router so well I couldn't get into it....
Can be a real pain when I do in a hurry. Secured a router so well I couldn't get into it....
4/11/2011
Subscribe to:
Posts (Atom)