Jump to content
DeployCentral

martbasi

Members
  • Content count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About martbasi

  • Rank
    Member
  1. Yay that I'm not the only one. Changed the subject of my OP to maybe draw some attention. Powershell support for tasks that occur during the deploy wizard would be such an upgrade, even a selling point IMO.
  2. Functionally, not that i can tell, works great. In terms of the agreement, they stated above that it's not supported. Which I accept. I just don't understand why not, why is powershell not made a native component of SmartPE? It's physically possible and has some great advantages, it seems a pity.
  3. So I seem to have successfully added powershell to my SmartPE ISO. Extracted the ISO, applied the steps in the MS link above to the boot.wim, regenerated a new ISO. I sure wish SmartDeploy Media Wizard incorporated this. Having Powershell available opens up so many possibilities. Feature request
  4. Thanks for the response ... I wonder if SmartPE media could be modified as described here... https://technet.microsoft.com/en-us/library/dn605289.aspx
  5. Hey, Just wondering if anyone knows whether it's possible to run powershell commands/scripts in the SmartPE, eg, in the POSTIMAGE phase? Edit: changed subject.
  6. Local Admin pulling Default Profile

    I'm seeing this behavior as well, pretty exasperating to lose all those customizations. Checking the box to enable local admin, and setting the pw to be identical to what is already configured in the source VM (fwiw). SD Enterprise 2.0.1010.7.
  7. post-deploy task from network share

    In case it's of help to someone in future ... Probably someone can do this better than me, but here's the powershell code i put in a script that is baked into the captured image. The .ps1 is called by a batch file since I also use that to first set the Remote Execution policy to unrestricted. Batch file is run "Upon first boot as system", uses the script below to check if the file server is reachable. When it is, it then goes on to robocopy all the desired scripts and installers to a local path, then executes them. # Variables $RemoteBox = "myservername" $RemoteBoxTest = Test-Connection -Count 1 -ComputerName $RemoteBox -Quiet $RemoteBoxTestCount = 1 $RetriesMax = 7 $RetriesInterval = 10 # Check if we're online with a Test-Connection to the server # If we get no replies, we'll retry every 10sec for up to 1 minute While ($RemoteBoxTest -ne $true -and $RemoteBoxTestCount -lt $RetriesMax) { Start-Sleep -Seconds $RetriesInterval $RemoteBoxTestCount++ $RemoteBoxTest = Test-Connection -Count 1 -ComputerName $RemoteBox -Quiet } if ($RemoteBoxTest -ne $true -and $RemoteBoxTestCount -ge $RetriesMax) { throw "$RemoteBox unreachable by attempt number $RemoteBoxTestCount" } else { #Do all the things! }
  8. post-deploy task from network share

    Ok, thinking out loud ... so perhaps a local kick-off script could go into the captured image, and it could repeatedly test-path ... and once the share is accessible, pull the remote scripts down and execute locally.
  9. Hi, I'm going to need to run a powershell script from a network share as deployment task "Upon first boot as system", ie, before first login. I'm wondering if anyone can tell me: Since the PC will be in the domain at this point, if I give the group "mydomain\domain computers" read/execute permissions on the network folder, would that allow the system account to run the remote script directly via UNC path? (eg, \\servername\foldername\script.ps1 )
  10. Platform Pack Maint/Efficiency

    +1 for this ... and it would be nice to have a tool that can maintain a local replica of the ppk repository ... like with Lenovo's Update Retriever, or Dell Repository Manager.
  11. Thx for the detailed response, interesting stuff. I agree and certainly would not depend on this method as a means of backup (for that I'd use Veeam or similar) ... I was just curious what options might be available in a perfect-storm / comedy-of-errors disaster situation where the VM & backups of it vanished for whatever reason. Probably will never happen but still nice to know, in the back of my head.
  12. Hi, I was just curious if there is a way to apply an image to a VM without installing any PPK items or running sysprep ... thinking in terms of resurrecting a gold/master/source VM using Smart Deploy & a WIM, in case of accidental loss of VM data & backups. Perhaps a weird scenario, but like I said, I was curious.
  13. Great - thanks for spelling that out so clearly.
  14. Incrementing custom naming

    As I said, new to deployment Got this working as suggested with a pre-image task. VBS makes its edit to T:\windows\panther\unattend.xml
  15. Hi, I suspect the answer is obvious, but rather than depend on my own assumtions, it would be cool if someone could actually tell me ... ... when there is a default.ppk that combines numerous makes & models, does that entire driver library get installed during deployment? Or is it selective, installing only drivers that are relevant to the hardware detected?
×