Reply To: DSC Pull Server Getting InternalServerError
I am running the pull server on W12R2 VMs the target node is also a brand new W12R2 VM. I am seeing this exact behavior and am equally stumped. After running Get-xDscOperation and Get-xDscOperation I...
View ArticleReply To: DSC Pull Server Getting InternalServerError
You've got the right module name; sorry – iPad answering can be difficult. Do you have KB3222800 installed? It's mentioned in The DSC Book, but want to double-check. Usually, "total weirdness"...
View ArticleHelp Iterating Through .CSV File to Update AD
My HR department wants to update AD with some basic information including Manger and Assistant. They are providing a .csv file that contains a 10 digit employee id number to identify employess, their...
View ArticleReply To: Hashtable as resource parameter
I had a chance to test out an idea using the same principle you referred to in the other thread, and it was a great success. #schema { [key] String KeyVariable; [write,...
View ArticleReply To: Help Iterating Through .CSV File to Update AD
I think you might have an easier time building this more as a script than as a one-liner; at least, it's easier for me to approach it that way. $records = Import-CSV filename.csv foreach ($record in...
View ArticleReply To: How would i go about creating multiple vm's on localhost
Well, sure. When you create a new VHD, you need to give it a unique filename. It would help somewhat to see the actual syntax that you're trying to use, instead of what you put in your post. And I'm...
View ArticleWhat .Net version is required for DSC?
Hi, We have some IIS applications that do not work with .Net 4.51. So the question has come up as to which version of .Net is required for DSC. I have seen some older references that say 4.5, but as...
View ArticleReply To: What .Net version is required for DSC?
.NET Framework 4.5 is required for all current versions of DSC (including the Windows Management Framework 5.0 preview).
View ArticleUnblock-File not unblocking file
Hello! Working hard to learn Powershell and could use some help. Trying to set up a Powershell FTP Client I found here:...
View ArticleReply To: Unblock-File not unblocking file
Are you using PowerShell 3.0 or later? If so, you can quickly tell whether that file is still blocked by running this command: Get-Content -Path 'C:\Users\Dell...
View ArticleReply To: Help Iterating Through .CSV File to Update AD
It's been a while since I've worked with the Quest cmdlets for Active Directory so let me first start out by asking what OS your Active Directory domain controllers are running? Just want to make sure...
View ArticleReply To: Help Iterating Through .CSV File to Update AD
I have to give you credit. This was a lot more complicated than I originally thought. Either one of these should work depending on if you want to use the foreach scripting construct or the...
View ArticleChecking presence or folders remotely
Hi, I am doing a migration from FRS to DFS replication of SYSVOL folder. In one step I want to check if SYSVOL and SYSVOL_DFSR folders both exist in Windows folder on all domain controllers. I did...
View ArticleReply To: $Allnodes.foreach examples
This works: Node $AllNodes.ForEach("Nodename") Just tested it as I'm creating a new hydration kit .
View ArticleReply To: Checking presence or folders remotely
Try this: $Result = Invoke-Command -ComputerName localhost,dc02,drdc,slt62000svad,slt62800svad -ScriptBlock { if (Get-ChildItem -Path $env:SystemRoot | Where-Object {$_.PsIsContainer -and $PSItem.Name...
View ArticleReply To: Checking presence or folders remotely
I put Write-Host just to distinct server I retrieved data from – ps script was not in focus but migration itself. Any way good to refresh my memory about sending variable data. A dozen more lessons...
View ArticleGetting an * in HTML output
Hi Guys, I am trying to generate an HTML report and have come across an issue where if my hashtable has a single key-value pair the output displays an * on the html but if I have 2 or more key-value...
View ArticleWindows Performance email high peaks
Thank you in advance, Is there an easy script that I can use to create a performance log alert every time I get a CPU,Memory,HDD above a set threshold… ? My main problem is I don't know how to create...
View ArticleReply To: Help Iterating Through .CSV File to Update AD
Don, Thanks for the assistance. I attached a sample of the file. There's other headers there but I'm not concerned about them. What I'm trying to do is find the username in AD, the manager and...
View ArticleReply To: Getting an * in HTML output
Hi Terry, I cannot explain this odd behavior of ConvertTo-HTML, but in my experience, explicitly specifying which properties that should be converted to HTML using the parameter -Property will solve...
View Article