Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Reply To: Querying Inner Text with Multiple Attributes

Your XPath query would look something like this: Select-Xml -Xml $PY -XPath '//EXTCHARGEDISTRIBUTION/GKENTD.ACDSEGMENT[@accounted="DR" and @index="1"]' When you’re filtering on attributes, you need...

View Article


DSC Pull Server Failure

I created a DSC Pull Server using the instructions in the e-book and everything went fine. I created a Configuration, and set a 2nd server to pull this configuration from the Pull server. It does not...

View Article


Image may be NSFW.
Clik here to view.

Reply To: DSC Pull Server Failure

Yeah, see how that’d never fit in a tweet? So the server that should be pulling is indeed configured for push, which is why it isn’t pulling. At least, presently. ConfigurationMode would usually be...

View Article

Reply To: DSC Pull Server Failure

You’ll need to reconfigure the LCM to use the Pull server again. Once you push to it, it’ll remain in PUSH mode. What do you get when you go to http://MYTARGETSERVER:8080/PSDSCPullServer.svc in your...

View Article

Reply To: DSC Pull Server Failure

It wasn’t my intention to try to fix it in tweets, it just kind of went off the rails :). This was a much better idea. See the DSC17.jpg attached file, showing the .MOF and .MOF.CHECKSUM files in the...

View Article


Reply To: DSC Pull Server Failure

Steven Murawski wrote: You’ll need to reconfigure the LCM to use the Pull server again. Once you push to it, it’ll remain in PUSH mode. What do you get when you go to...

View Article

Reply To: DSC Pull Server Failure

If you are running Server 2012, I think some additional steps are required as the windows feature for the pull server is not there.. I don’t know if the DSC resource for pull servers “knows” that....

View Article

Reply To: DSC Pull Server Failure

My mission was to learn DSC. And it seems I am learning every little quirk and don’t do that in very short order. Thanks Steven.

View Article


Reply To: DSC Pull Server Failure

I upgraded the server to Server 2012 R2 and just ran through the steps of Configuring it as a DSC Pull server again. I also ran through the steps of making my other server pull its Configuration from...

View Article


Reply To: DSC Lab using Brix

I see what you mean about Hyper-V being a pain from a non-domain machine. Egads! And of course, the machines (laptop and Hyper-V) are non-domain, and won’t be domain, and I don’t like some of the...

View Article

Reply To: DSC Lab using Brix

With hyper v I can install PWA And manage from the client via web browser. Using PowerShell. Go for the gusto, man.

View Article

Reply To: DSC Lab using Brix

Time to research it! If I can install PWA right on top of Hyper-V, and ultimately do everything I need without having to worry about using Hyper-V Manager, I’m all for it. I’ll figure this out!

View Article

Reply To: Need Help with Powershell Advance Function

Thank you Kevin . That solved the issue .

View Article


Reply To: Composite DSC resources with parameters

Wrote a blog post based on your StackOverflow question. The blog post holds a guide on creating a composite DSC configuration. Thought I should post a link to the blog post here, in case someone finds...

View Article

Reply To: Querying Inner Text with Multiple Attributes

Thank you I was missing the @ , but I am still struggling with returning data. The script does not error, but no data is returned. I have a feeling something else is wrong and I am approaching this...

View Article


Reply To: Querying Inner Text with Multiple Attributes

I mean for me to post my script…

View Article

Reply To: Querying Inner Text with Multiple Attributes

Sure, you can attach it here as a txt file.

View Article


PowerShell Web Access – Connectivity Issues

Hi everyone! Fresh install of Server Core 2012 R2. Based on my other thread, it’s going to be Hyper-V, but also managed via PowerShell via PSWA (per Don Jones’ prodding). Here’s the problem: I’ve got...

View Article

Image may be NSFW.
Clik here to view.

Reply To: PowerShell Web Access – Connectivity Issues

Small update. I rebuilt real quick, since I hadn’t made it very far into anything else. This time around, I must have done something differently. Previously, I had to expand the optional connection...

View Article

Reply To: Delete lines with a script

I also attach cabeza.txt

View Article
Browsing all 13067 articles
Browse latest View live