Reply To: AD Module on SBS 2008
Um… Don’t use SBS? Seriously, it might just not be supported.
View ArticleReply To: AD Module on SBS 2008
If the AD Management Gateway Service won’t install on SBS, then I’m afraid you’re out of luck, as far as the Microsoft ActiveDirectory module is concerned. You could download the Quest AD cmdlets,...
View ArticleReply To: Add multiple instances of a noteproperty to an object
It sounds like what you want is an object that has a string property (site name), and an array property (Subnets). Anytime you find yourself creating properties or variables named Thingy1, Thingy2,...
View ArticleReply To: Security group to computer object?
Is there a particular reason you want to set the permissions directly on each computer object, instead of setting it at the OU level and letting the permissions inherit to the computers? It’s a better...
View ArticleExcel VLOOKUP function
Hi Folks, I’m writing quite a lengthy script to combine the data from three spreadsheets. It’s going fairly well so far, but I’m stuck on a little bit that I’ll probably end up kicking myself for…...
View ArticleReply To: Security group to computer object?
We had thought of that also, however two things that were against that is this group may or may not be added to future objects placed into this container, and we will most like do some restructuring....
View ArticleReply To: Excel VLOOKUP function
hi, Interesting solution. I don’t know your overall goal of the solution, however if I may make a suggestion: If you “convert” your excel files to csv, you could import them in powershell and handle...
View ArticleReply To: Add multiple instances of a noteproperty to an object
Tore, thanks for the pointers. My issue was converting from a [string] to an [int] in order to do math functions, hence my ugly code there. Dave, I’ve never heard of Group object before and I...
View ArticleReply To: Querying Inner Text with Multiple Attributes
I have attached my script and the example XML I am working with, I also attached the script that was successful in returning all the data elements in the entire document, I am trying to apply that...
View ArticleReply To: Querying Inner Text with Multiple Attributes
In “Success.txt”, you’ve got a slight bug: $xx = ($xmlObject | Where-Object {$_.Accounted -eq "DR" -and $_.index="1"}).InnerXml That second “=” sign ($_.index = “1″) should be another “-eq” operator;...
View ArticleReply To: Add multiple instances of a noteproperty to an object
No problem! The -Object cmdlets are mostly pretty useful (though I don’t use Tee-Object much, for whatever reason.) If any of these look unfamiliar to you at this point, I’d suggest checking out their...
View ArticleReply To: Excel VLOOKUP function
It’s been a while since I did any Excel automation, but I think there’s a property that gives you the range of non-blank cells (Range.CurrentRegion, if I remember right). You could use that to figure...
View ArticleReply To: Security group to computer object?
It’s still a bad idea, but if that’s the design you want to run with, it can be done. (Personally, I would add a new child OU to hold just the subset of computers that require this delegation, and set...
View ArticleReply To: DSC Lab using Brix
For those following along, the lab is finally starting to come together.. I’ve now got the Brix running Server Core/Hyper-V. I have one VM up and running right now that is running as a DC/DNS box,...
View ArticleRemote Connection Issues
I am having trouble connecting remotely to machines in the domain and have several questions. First, I can reach all machines, connect via RDP, resolve host and ip addresses etc. First question is can...
View ArticleReply To: Querying Inner Text with Multiple Attributes
I did mess up the success one, but it does work, I just sent it to you incorrectly. My problem is that I do not know how to get that query, that returns all the data in the success.txt, to return the...
View ArticleReply To: Remote Connection Issues
Enable-PSRremoting is the correct command. And you can use a GPO; see the Remoting book at PowerShell.org/WP/ebooks for all the gory details. It has a lot of troubleshooting info too.
View ArticleReply To: Querying Inner Text with Multiple Attributes
Ah, are you using PowerShell 2.0, by chance? PowerShell 3.0 added a feature called “Member Enumeration”, which would come into play on this line: $DRSegment1 =...
View ArticleReply To: PowerShell Web Access – Connectivity Issues
I just re-read what you wrote.. Is that for an upcoming In Depth, or the latest published In Depth? I quickly glanced at the latest published, and didn’t see it, but I may have been looking in the...
View Article