Reply To: Deployment: Check AD for computername else generatecomputername...
Thanks for the reply! That’s another problem i am having. I can’t seem to import the AD module in winpe, do you have any ideas?
View ArticleReply To: Deployment: Check AD for computername else generatecomputername...
Thanks for the reply! That’s another problem i am having. I can’t seem to import the AD module in winpe, do you have any ideas?
View ArticleReply To: Deployment: Check AD for computername else generatecomputername...
I’m not 100% sure but I don’t think you can import extra PowerShell modules into winpe
View ArticleReply To: Gui development
If $samaccounttextbox2 is a text box, then $samaccounttextbox2.text is the contents of the text box.
View ArticleReply To: Gui development
Also, you’re running into a common “Gotcha” with Invoke-Command. That script block executes on the remote computer, and doesn’t inherit variables in your local scope (in other words, $Nametestbox1 and...
View ArticleReply To: Gui development
thanks to everyone I did get it working see below. Still need to fix try-catch block but it creates a new ad users $buttonSubmit_Click={ #TODO: Place custom script here $remoteUsername =...
View ArticleReply To: HTML Output
Need separate HTML output for per server name using ConvertTo-HTML | Out-File C:\Scripts\RebootReport.htm
View ArticleReply To: HTML Output
Yes, I did understand that part. What I didn’t understand, however, is what you have tried and why you think your attempts haven’t worked as you expected. If you could provide us with a description of...
View ArticleChange File Extension and Email File
Hiya, I wonder if anyone can assist please? I’m using a switch to evaluate a condition which is all working quite nicely at the moment i.e. it sends me an email alert when a condition is met (that a...
View ArticleReply To: HTML Output
It may be helpful to actually post your script so we can try to help out with it. -VERN
View ArticleReply To: Creating an array of directories
Dave, While it steps through the directories properly -going to a list of three sublayers, the Get-ACL portion only returned what was a very small portion of the acl. I have taken your ideas and the...
View ArticleJquery file for Creating HTML Reports in PowerShell book
Hi, Don, Thanks for speaking at AZPOSH last night! Question: The book refers to a file that I don’t see in the zip anywhere: ‘C:\html\jquerydatatable.js’. Is there a way to get that one? Regards, Scott
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
If you don’t tell it otherwise that comes from a Microsoft CDN. Look at the source code and you’ll see the URL.
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
Yes, I did, but it shows it as a local file in the code: ‘jQueryDataTableUri’='C:\html\jquerydatatable.js’. I just found it on the Web:...
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
Huh. Used to be a parameter – will check and fix!
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
Yeah so it’s parametrized in the actual function. Just don’t provide that parameter and it grabs from the CDN. You’re looking at the demo script which is set to run from my computer.
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
Cool, thanks. I’m getting this error importing the module too: The ‘C:\Users\ssaari\Documents\WindowsPowerShell\Modules\EnhancedHTML2\EnhancedHTML2.psd1′ module cannot be imported because its manifest...
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
It’s a client’s server, powershell 2.
View ArticleReply To: Jquery file for Creating HTML Reports in PowerShell book
Yeah. Don’t do that. It was written for v3.
View Article