<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Why I no longer hate writing documentation&#8230;</title>
	<atom:link href="http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/</link>
	<description>Sharing the Experience</description>
	<lastBuildDate>Mon, 06 Sep 2010 23:05:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: yurivku</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-508</link>
		<dc:creator>yurivku</dc:creator>
		<pubDate>Fri, 06 Aug 2010 11:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-508</guid>
		<description>Hi, in Excel 2010 it works only if add:
$culture = [System.Globalization.CultureInfo]&quot;en-US&quot;
$oldCulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
[System.Threading.Thread]::CurrentThread.CurrentCulture = $culture

just before Excel calling.
Thanks for script</description>
		<content:encoded><![CDATA[<p>Hi, in Excel 2010 it works only if add:<br />
$culture = [System.Globalization.CultureInfo]&#8220;en-US&#8221;<br />
$oldCulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture<br />
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture<br />
[System.Threading.Thread]::CurrentThread.CurrentCulture = $culture</p>
<p>just before Excel calling.<br />
Thanks for script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stan</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-479</link>
		<dc:creator>stan</dc:creator>
		<pubDate>Wed, 19 May 2010 22:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-479</guid>
		<description>using powershell 2.
created a simple script to output the computer names and descriptions. 
Trying to output from a specific OU to a spreadsheet and format the two fields: name and description with no luck so far.
here&#039;s the script:
    $strFilter = &quot;computer&quot;
 
$objDomain = New-Object System.DirectoryServices.DirectoryEntry
 
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher
$objSearcher.SearchRoot = &quot;LDAP://servername/OU=laptops,ou=city,DC=domain,DC=com&quot;
$objSearcher.SearchScope = &quot;subTree&quot; 
$objSearcher.PageSize = 1000 

$objSearcher.Filter = &quot;(objectCategory=$strFilter)&quot;
$colResults = $objSearcher.FindAll()

foreach ($i in $colResults) 
    {
        $objComputer = $i.GetDirectoryEntry()
        Get-WMIObject Win32_BIOS -computername $objComputer.Name,$objComputer.Description
    }

Help would be appreciated. thanks.</description>
		<content:encoded><![CDATA[<p>using powershell 2.<br />
created a simple script to output the computer names and descriptions.<br />
Trying to output from a specific OU to a spreadsheet and format the two fields: name and description with no luck so far.<br />
here&#8217;s the script:<br />
    $strFilter = &#8220;computer&#8221;</p>
<p>$objDomain = New-Object System.DirectoryServices.DirectoryEntry</p>
<p>$objSearcher = New-Object System.DirectoryServices.DirectorySearcher<br />
$objSearcher.SearchRoot = &#8220;LDAP://servername/OU=laptops,ou=city,DC=domain,DC=com&#8221;<br />
$objSearcher.SearchScope = &#8220;subTree&#8221;<br />
$objSearcher.PageSize = 1000 </p>
<p>$objSearcher.Filter = &#8220;(objectCategory=$strFilter)&#8221;<br />
$colResults = $objSearcher.FindAll()</p>
<p>foreach ($i in $colResults)<br />
    {<br />
        $objComputer = $i.GetDirectoryEntry()<br />
        Get-WMIObject Win32_BIOS -computername $objComputer.Name,$objComputer.Description<br />
    }</p>
<p>Help would be appreciated. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menno</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-469</link>
		<dc:creator>Menno</dc:creator>
		<pubDate>Thu, 08 Apr 2010 12:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-469</guid>
		<description>To optimize the scan, I added a check to skip non-responding computers (e.g. linux machines, computers turned off, and unupdated AD records). Scanning of our network is a lot faster now.

Function WMILookup {
foreach ($StrComputer in $colComputers){
		$GenItems1 = gwmi Win32_ComputerSystem -Comp $StrComputer
***********
if(!$GenItems1){
            Write-Host &quot;$StrComputer not found&quot;
            continue
            }
***********


Thanks for the script! I also love your tutorials, especially the real-world examples. Very well written!

Menno</description>
		<content:encoded><![CDATA[<p>To optimize the scan, I added a check to skip non-responding computers (e.g. linux machines, computers turned off, and unupdated AD records). Scanning of our network is a lot faster now.</p>
<p>Function WMILookup {<br />
foreach ($StrComputer in $colComputers){<br />
		$GenItems1 = gwmi Win32_ComputerSystem -Comp $StrComputer<br />
***********<br />
if(!$GenItems1){<br />
            Write-Host &#8220;$StrComputer not found&#8221;<br />
            continue<br />
            }<br />
***********</p>
<p>Thanks for the script! I also love your tutorials, especially the real-world examples. Very well written!</p>
<p>Menno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bengt</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-463</link>
		<dc:creator>Bengt</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-463</guid>
		<description>I forgot to mention that i tried Jamey Westmoreland textversion provided in this thread. It resulted in me being posted to save the textfile numerous times as specified in the script but there were never any textfiles saved.
I also tried editing the script to use OpenOffice Calc instead (it&#039;s installed next to Office 2010 Beta on my Vista-machine) but I was never able to &quot;wake&quot; Calc through the script.

Regards
/Bengt</description>
		<content:encoded><![CDATA[<p>I forgot to mention that i tried Jamey Westmoreland textversion provided in this thread. It resulted in me being posted to save the textfile numerous times as specified in the script but there were never any textfiles saved.<br />
I also tried editing the script to use OpenOffice Calc instead (it&#8217;s installed next to Office 2010 Beta on my Vista-machine) but I was never able to &#8220;wake&#8221; Calc through the script.</p>
<p>Regards<br />
/Bengt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bengt</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-462</link>
		<dc:creator>Bengt</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-462</guid>
		<description>I&#039;m a beginner when it comes to scripting and likewise in Powershell.
I would love to get this script working but i have only ended up with a blank excel, not even a worksheet.
I have tried it in two setups.
In both setups I ran it on local machine.

1.Vista Business SP2 Office 2010 Beta
2.XP SP3 Office 2003
Vista is fysical, XP is virtual(would have liked it to be the other way around).

I checked to see if all COM and WMI services were running - ok.

In Vista I allowed powershell in Firewall.
In XP I disabled firewall.

In Office2010 Beta i set folder, and subfolder of powershell-exe to be trusted.

Starting to suspect it could relate to some module missing in powershell or something else missing.

I have complete faith this is a wonderful script. But since you guru&#039;s have been working with scrips so long I suspect this script does not work since I and other don&#039;t meet the pre-requisites.
Is there anyway to find out pre-requisites, dependencies..

Thank you for shareing all you&#039;re knowledge

Best Regards
/Bengt</description>
		<content:encoded><![CDATA[<p>I&#8217;m a beginner when it comes to scripting and likewise in Powershell.<br />
I would love to get this script working but i have only ended up with a blank excel, not even a worksheet.<br />
I have tried it in two setups.<br />
In both setups I ran it on local machine.</p>
<p>1.Vista Business SP2 Office 2010 Beta<br />
2.XP SP3 Office 2003<br />
Vista is fysical, XP is virtual(would have liked it to be the other way around).</p>
<p>I checked to see if all COM and WMI services were running &#8211; ok.</p>
<p>In Vista I allowed powershell in Firewall.<br />
In XP I disabled firewall.</p>
<p>In Office2010 Beta i set folder, and subfolder of powershell-exe to be trusted.</p>
<p>Starting to suspect it could relate to some module missing in powershell or something else missing.</p>
<p>I have complete faith this is a wonderful script. But since you guru&#8217;s have been working with scrips so long I suspect this script does not work since I and other don&#8217;t meet the pre-requisites.<br />
Is there anyway to find out pre-requisites, dependencies..</p>
<p>Thank you for shareing all you&#8217;re knowledge</p>
<p>Best Regards<br />
/Bengt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bman</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-447</link>
		<dc:creator>Bman</dc:creator>
		<pubDate>Fri, 26 Feb 2010 00:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-447</guid>
		<description>This looks great - however when choosing option 1 for all domain computers only one machine shows up. No errors pop up but in the debug window I see the following:

&quot;Which computer resources would you like in the report?&quot;
Undetermined
Undetermined 

Any help would be appreciated.

Thanks,

Brian</description>
		<content:encoded><![CDATA[<p>This looks great &#8211; however when choosing option 1 for all domain computers only one machine shows up. No errors pop up but in the debug window I see the following:</p>
<p>&#8220;Which computer resources would you like in the report?&#8221;<br />
Undetermined<br />
Undetermined </p>
<p>Any help would be appreciated.</p>
<p>Thanks,</p>
<p>Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brzeski</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-436</link>
		<dc:creator>Brzeski</dc:creator>
		<pubDate>Mon, 07 Dec 2009 15:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-436</guid>
		<description>Can someone recomend a good book on PowerShell, for a beginner</description>
		<content:encoded><![CDATA[<p>Can someone recomend a good book on PowerShell, for a beginner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brzeski</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-435</link>
		<dc:creator>Brzeski</dc:creator>
		<pubDate>Mon, 07 Dec 2009 15:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-435</guid>
		<description>Hi, How do I change this script to output to notepad, we do not have Excel?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi, How do I change this script to output to notepad, we do not have Excel?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TS</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-430</link>
		<dc:creator>TS</dc:creator>
		<pubDate>Wed, 18 Nov 2009 20:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-430</guid>
		<description>This script is great but i am new to powershell and need the uptime of the servers added to this script, how to do that????</description>
		<content:encoded><![CDATA[<p>This script is great but i am new to powershell and need the uptime of the servers added to this script, how to do that????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Psihais</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/comment-page-1/#comment-425</link>
		<dc:creator>Psihais</dc:creator>
		<pubDate>Wed, 11 Nov 2009 15:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-425</guid>
		<description>can someone send me final version of this script, I cannot configure it to run with excel 2007.
matiss(dot)baltalksnis@gmail.com</description>
		<content:encoded><![CDATA[<p>can someone send me final version of this script, I cannot configure it to run with excel 2007.<br />
matiss(dot)baltalksnis@gmail.com</p>
]]></content:encoded>
	</item>
</channel>
</rss>
