Reply To: Get-Content INI File
We’ll probably do updates for v4 on the existing books early next year. It’s a ton of work, and it doesn’t pay much, so I can’t afford to do many more than I do.
View ArticleQuestion about EnhancedHTML Module
Hello first off- let me say thanks for this wonderful module. http://powershell.org/wp/books/creating-html-reports-in-powershell/ I love the pagination, column sorting and also the filtering options,...
View ArticleReply To: Question about EnhancedHTML Module
So, the EnhancedHTML module lets you do that. The demo script is what uses the module to produce one page per computer. All you have to do is create a fragment per computer, and then bundle those...
View ArticleReply To: Question about EnhancedHTML Module
thanks for the quick reply. i tried this below but dosent seem to create a table. besides i get the feeling even if it works it is going to create multiple headers within the table. $html_dr = @()...
View ArticleReply To: Question about EnhancedHTML Module
Um, yeah, pasting HTML into a Web site doesn’t work well . So, I’m afraid I don’t have time today to write the whole thing for you. But I think you’re on the wrong general approach. You need to start...
View ArticleClarification on computer name parameter
I just want to make sure that I understand this correctly and am not missing anything. <span style=”font-size: 13px;”> </span> param( [string]$computername = ‘localhost’ ) $a =...
View ArticleReply To: Correcting and querying AD group membership
Art, You are an absolute LEGEND! I can’t thank you enough. That script did both tasks perfectly on the first try! (I was expecting to need at least two separate scripts and multiple replies to the...
View ArticleReply To: Question about EnhancedHTML Module
sorry u had to see that .. :) . I thought I enlosed the code in [\pre] or maybe i put curly brackets or something …..anyway thanks for the tip..Let me work on the above and post my progress.
View ArticleReply To: Clarification on computer name parameter
You gotta avoid pasting out of “rich” apps, which includes the ISE I think. They end up pasting HTML. That’s where your extra SPAN tag came from in your post. LMK what you pasted from – I’d like to...
View ArticleReply To: Clarification on computer name parameter
Just as a slight digression I’d add that using ‘localhost’ as a default value can sometime cause problems. I’d recommend $env:COMPUTERNAME which picks the name of the local machine out of the...
View ArticleReply To: Clarification on computer name parameter
Don Jones wrote: You gotta avoid pasting out of “rich” apps, which includes the ISE I think. They end up pasting HTML. That’s where your extra SPAN tag came from in your post. LMK what you pasted from...
View ArticleReply To: Question about EnhancedHTML Module
You *can* attach files, and I suggest you do that for long chunks of code or HTML files. Please don’t paste text from other applications – your browser is interpreting what’s on your clipboard as...
View ArticleReply To: Question about EnhancedHTML Module
i cant seem to post plain text….i am putting the whole thing into a text file .
View ArticleUse already defined parameter inside the [vaildatescript] for another parameter
Hi Power Users, Guide me through this I have a function that will take 2 parameters as argument $computername and $action. Now inside the validate script for $action parameter…Can I access the...
View ArticleReply To: Written Time
Thanks for the help. I realize that it is not the most elegant solution but it was a quickly thrown at me challenge to see if I could get it to work.
View Article-PSPropert (ies??) parameter
hello, i am just starting with powershell with the help of learn windows powershell 3 in a month of lunches. i noticed on page 59 that to change a registry value using the set-itemproperties there is...
View ArticleReply To: Use already defined parameter inside the [vaildatescript] for...
Nope. Each ValidatdeScript is basically its own scope, and the parameters themselves haven’t been “created” at that stage, so you can’t refer to them so far as I know. You really don’t want the...
View ArticleReply To: Question about EnhancedHTML Module
So, you’ve asked a couple of questions here. First, EnhancedHTML does require a fragment. You would produce ONE, because you want one table in the output. That one fragment would contain ALL of your...
View ArticleReply To: -PSPropert (ies??) parameter
The parameter name got truncated. It is PSProperty. This is an alias for the -Name parameter which we should have used instead. If you use tab completion with -PS[tab] you see it.
View Article