New Post: VBS fails but PDAT says success
Hi David, I've been able to reproduce this using a buggy VBScript and I don't think it's something specific to the PADT. If you run the VBScript in a command prompt and then type echo %errorlevel% you...
View ArticleNew Post: VBS fails but PDAT says success
Thanks Sean, thought as much. Crappy legacy stuff... ;) Again, awesome work you did here!!!
View ArticleNew Post: VBS fails but PDAT says success
PowerSheller wrote: PS. @André, David's quotes are correct, the back ticks are escape characters in PowerShell. Thanks for your clue, i am a beginner in Powershell and i am learning a lot of it. Your...
View ArticleNew Post: How to prevent windows minimizing
Here is message taken from the PSAppDeployToolkit.log [10-04-2014 14:17:23] [Initialization] Current Culture is [en-US] and UI language is [EN] [10-04-2014 14:17:23] [Initialization] Deployment type is...
View ArticleNew Post: Running in SCCM Task Sequence
Hi, I have noticed that the detection method for checking if the deployment toolkit is running in a Task Sequence is simply to check if TSManager is running. As we run Task Sequences for app installs...
View ArticleNew Post: copying into users appdata.. or other user folders..
Dan, I know this is an older post but it's relevant to a similar issue I'm having; not only do I have to copy a file, but I also have to create a directory in "C:\Users\%userprofile%\Appdata\Local\"...
View ArticleNew Post: copying into users appdata.. or other user folders..
Woops. Correct code should be:ForEach ($user in (Get-ChildItem "C:\Users" -Exclude Public)) { New-Item -ItemType Directory -Force -Path "C:\Users\$($user.Name)\AppData\Local\Folder1\Folder2\" Copy-File...
View ArticleNew Post: copying into users appdata.. or other user folders..
running it as a package gives you the option to do it every time a user logs in.. if you need to consider future users that haven't been logged onto the computer prior to you deploying the file.
View ArticleNew Post: Running in SCCM Task Sequence
Hey Jack, Do you know if OSDSetupHook runs as part of any Task Sequence regardless of whether you're performing an OSD? Reason I ask is that I know of a number of companies that use Task Sequences to...
View ArticleNew Post: Running in SCCM Task Sequence
Hi Dan, OSDSETUPHOOK.exe is part of the WinPE Boot Image so it can never run outside of OSD. TSManager is used in OSD and in full OS Cheers Jack
View ArticleNew Post: Flash Player 12 ActiveX Uninstall String Issue
I was hoping someone could provide a hint on uninstalling Adobe Flash 12 ActiveX. I have been testing my script for deploying Adobe Flash 13 and noticed issues on our computers with the script when...
View ArticleNew Post: Lenovo System Update installer
I'm new to this product, and this will be the third application of many that I will be using it with. I'm trying to install Lenovo's System Update, but first I would like it to detect the OS version -...
View ArticleNew Post: Lenovo System Update installer
Just an update in my troubleshooting here... I removed the $ before the Enabled/Disabled for the netFX check and that now works properly. However, I am not running into an issue with the-Arguments "-s...
View ArticleNew Post: Function to detect pending reboot
Requires SCCM Client (WMI class CCM_ClientUtilities must exist)Function IsRebootPending{ <# .SYNOPSIS Check if the pending reboot exists. Returns $true or $false. .PARAMETER Computer Computer to...
View ArticleNew Post: Function to detect pending reboot
Hi there,Thanks for posting this script! Just one small suggestion in keeping with PowerShell verb-noun syntax, rename function to Test-PendingReboot.Cheers, Seán
View ArticleNew Post: Function to detect pending reboot
I have a suggestion! :) So this relies on the SCCM 07 / 12 agent being installed on a machine, and will fail if it's not. An alternative would be to check for any pending file rename operations. Check...
View ArticleNew Post: Lenovo System Update installer
Hey there. Looks pretty good to me. Just FYI, to open quotes inside quotes, prefix the quote (") with an apostraphe ('). So your original line would be:Execute-Process -FilePath...
View ArticleNew Post: Flash Player 12 ActiveX Uninstall String Issue
When installed, were they installed using the enterprise MSI or the standard executable? I think the uninstall for the standard executable isn't an MSI and thus can't be removed using MSIExec. I would...
View ArticleNew Post: Lenovo System Update installer
Thank you Dan, That's very useful! However, now I'm having an issue where the script will not run at all and I receive no error notifications. Perhaps you wouldn't mind helping me out, here is exactly...
View ArticleNew Post: copying into users appdata.. or other user folders..
Dan, sorry for the late reply but I wanted to get back and let you know this worked perfectly. Thank you. Now, I just have to figure out how to detect the user's location to make sure they get the...
View Article