Reply To: Using powershell to import a csv file for OU's
Assuming you have RSAT tools installed, you can use the AD module and do something like this: # OU.csv # #”Name”,”Path” #”MyNewOU1″, “DC=FABRIKAM,DC=COM” #”MyNewOU2″, “DC=FABRIKAM,DC=COM” #”MyNewOU3″,...
View ArticleReply To: Export-csv changing names with apostrophes
Thank you, I found the special characters, they were coming from our AD extract everynight on the users name.
View ArticleReply To: error on starting powershell -executionpolicy
Unless you have a really compelling reason to stay at v1, you really should upgrade PowerShell. You don’t get all the remoting goodness until at least v2.
View ArticleReply To: PowerShell v1 strange behaviour
There’s nothing obvious I can see but I suspect that you’ve tripped over some change between versions. What version of PowerShell are you using on the systems that work? Looking at your script there’s...
View ArticleReply To: error on starting powershell -executionpolicy
If I remember correctly ExecutionPolicy wasn’t available as a start-up parameter on PowerShell v1
View ArticleReply To: error on starting powershell -executionpolicy
OK, looks like I have to rewrite my program using VB…. If I had control, i would have forced them to upgrade powershell version. Thanks all for your help!
View ArticleWorkflows
Hey all, i was hoping someone could explain some stuff to me. Now I’m no pro with powershell, but I really want to get better at it. And unfortunately I don’t really have a strong background in...
View ArticleReply To: Using powershell to import a csv file for OU's
I’m configuring this on Windows server 2012 so not using Rsat tools. Is that going to bring in whats on the spreadsheet?
View ArticleReply To: How to configure PSRemoting without domain
In the environment I work in we use this pretty frequently by creating HTTPS listeners and self signed certs…if you go the self signed route you need to specify some extra options to ignore the cert...
View ArticleReply To: Learning – Don Jones
Thank you All – I ordered the book Lunch Books both today! I am going to try to get at CBT Nuggets subscription if the budget will allow. I have seen the PowerShell in Depth book as well but it is far...
View ArticleDSC: Lab based training
I recently attended a 2 day ‘Chef Fundamentals’ lab based hands on workshop and found it very useful to understand the basic concepts for how it works. I left the class thinking that I wish there was...
View ArticleReply To: Learning – Don Jones
There’s a free ebook on this site on the topic of HTML reports (see http://powershell.org/wp/ebooks/ ), complete with a module you can download and use. As for extracting a phone number without its...
View ArticleReply To: DSC: Lab based training
I thought I remembered Don floating an idea for that recently, but I’m not seeing the article on this site. Maybe it was on Twitter. Anyhow, DSC is still new enough that I’m not sure there are many...
View ArticleDSC vs SCCM Desired Configuration Management
Could anyone explain the similarity or difference between these two? Does SCCM use DCS under the covers?
View ArticleReply To: DSC: Lab based training
Nothing formal at this time. I’m pitching the idea for a course to Microsoft, but we’ll have to see if they bite. I include the topic in my custom on-site classes, but those aren’t public.
View ArticleChange DHCP IP to STATIC IP
Hello Don, I am looking for a script to change DHCP IP to static for multiple servers. the script i am trying it is just disconnecting the session.
View ArticleReply To: Change DHCP IP to STATIC IP
Hi Jeevan, Eric here, Can you please provide what work you have done so far by pasting your script content in code tags in a reply so that we can review it?
View ArticleReply To: Change DHCP IP to STATIC IP
What I suspect is happening is that you are attempting to this remotely and when you change the IP address on the remote server you break the network connection to that server including any remoting,...
View ArticleReply To: Workflows
I haven’t personally done anything with Workflows, but Desired State Configuration is becoming the preferred way to accomplish this sort of task, so long as you meet all of its minimum requirements....
View Article