scripting
need to script something ? do it here
124 topics in this forum
-
- SCCM
- powershell
- DP
- Distribution Point
-
Tagged with:
Hi, I have to modify a distribution point value with powershell script. The value is PrestageAllowed who locate in wmi class SMS_SCI_SYSRESUSE like screenshot http://imageshack.us/photo/my-images/27/sanstitrewi.png/ Thanks fz
-
- 1 reply
- 5.8k views
-
Anyone by chance have ez-execute ? It's a front end gui for psexec. I'm running late on my SCCM pushes, and have to do some manually, so having trouble doing it all with psexec. It used to be here: http://www.penguinbyte.com/software/ezexecute But that link no longer works everything seems to point to the above link... http://www.savagenomads.net/2007/03/19/ez_execute_freeware_gui_for_psexec/
-
- 1 reply
- 16.3k views
-
-
Hello Folks, I'm new to this forum. I believe that this is right place to post my query here. Here is problem with SCCM. I wrote a script that copy file from desktop to shared location. the script works perfectly fine when I run as administrator. Created package \ application for this script and deployed to my test machine. but It doesn't do anything while installing from my test machine even though I checked run with admin's right in SCCM. FYI: Method 2: Created bat file that calls my power shell script. No luck yet all! Method 3: Run the Powershell script by using coomand line i.e Powershell -ExecutionPolicy -Bypass -file "fi…
-
- 1 reply
- 3.6k views
- 2 followers
-
-
Hi All, I am trying to build an enviornemnt an dusing Hyrdation scripts from deploymentresearch.com ( thanks to Johan Arwidmark and team). The below mentioned script works fine with local SQL server deployment but i want it to work with my remote SQL server instance. Can any please advice as to what all changes I have to do to make this script work. Appreciate your help in advance.
-
- 1 reply
- 4.3k views
- 1 follower
-
-
following the instructions here: http://blogs.technet.com/b/deploymentguys/archive/2012/02/15/expiring-outdated-stand-alone-media.aspx my tsconfig is as follows: [CustomHook] CommandLine="cscript.exe X:\ExpiredUFDCheck.vbs" CommandLine="wscript.exe X:\Deploy\Scripts\ZTIMediaHook.wsf" The ORIGINAL vbs file is as follows, which will not function for me and just throw errors and the logic seems wrong so I corrected it, ( changes annotated). On Error Resume Next ' // --------------------------------------------------------------------- ' // Find the environment variable %configpath% for location of UFD ' // --------------------------------------------------------…
-
- 1 reply
- 5.6k views
-
-
I run a large SMS 2003 environment we currently in the process of moving to SCCM 2007. We have a tool that allows help desk personnel to push SMS packages to individual computers via a small .Hta script that has just a two line interface COMPUTER NAME and PACKAGE. We would like to continue using this tool in SCCM but I would like to know if there is a better tool out there that would give Help desk personnel better functionality. Below is the .hta Script we currently use. </head> <script language="VBScript.Encode"> '**Start Encode** Option Explicit 'Initialize: Dim strCollectionList : strCollectionList = "" Dim strVerifiedColl :…
-
- 1 reply
- 5.8k views
- 1 follower
-
-
I'm trying to run the Microsoft Fit it Program that resets IE8 settings on a multitude of computers. I have tried -- msiexec /i "Microsoftfitit50195.msi" /qn but I get 2 prompts at the end of the process. I cant seem to find any other parameters to answer those prompts. Am I missing a parameter or is there any other way via GPO to force the IE settings reset? Thank for your help.
-
- 1 reply
- 5.5k views
-
-
Hello everbody, Does someone knows how to disable 802.1x on Windows 7? I found a VBScript in the link below but it doesn't work on Windows 7, because the EAPOL registry was discontinued on Windows vista http://www.tech-archive.net/Archive/Scripting/microsoft.public.scripting.vbscript/2005-04/msg00232.html Does anyone knows how to do it, using WMI, registry or batch? Any help would be really appreciated! Thanks in advance!
-
- 1 reply
- 5.7k views
-
-
I have a script that shuts the PcaSvc (Program Compatibility Assistant Service) before installing another program. However, I need a script to detect that it's Stopped so I can use it for SCCM AppModel detection. I have this, but I'm getting erros......yes I'm a Powershell newbie...... $PcaSvc = Get-WmiObject win32_service | where Name -eq "PcaSvc" if ($PcaSvc.State -eq "Stopped") { $true } else { $false } Please assist...thanks!
-
- 1 reply
- 3.8k views
-
-
I have a short script to modify some HKCU reg entries for the Default user. I want to apply this to the reference image so it gets applied to new users. I know this can be done with GPO. I am using MDT and have it pause after the script runs so I can test it. It is says completed successfully but it doesnt do anything. Even when I run it from a cmd prompt manually during the pause. This does not work when running it manually on a machine either. This is the script @ECHO OFF REM ***************************************************** REM Script configures the Default User Profile REM ***************************************************** echo. echo. Load …
-
- 1 reply
- 7.7k views
- 1 follower
-
-
- vbs
- vbscript
- script
- task sequence
-
Tagged with:
Hi! I'm having some issues with a .vbscript made for renaming computer during a task sequence. The issue is that it works for renaming virtual machines, but also a physical HP, the way it's supposed to (name of choosing + last 6 digits of serialnumber). However it fails on a customers physical Lenovo machine. The Lenovo machine sets the first part of name correctly, but completely ignores the fact that it's supposed to cut the serialnumber to the last 6 digits, meaning sometimes the machinename goes above 15 characters. The vbscript is run right after formating the disk, as seen on this pic: The script is: -------------------------------------------------------…
-
- 1 reply
- 5.9k views
-
Hi Guys, I would like to add domain users to be able to log on via RDP to their desktop via script or GPO. Basically, all our desktops are named after the user who uses it. Dersktop=sjobs-xp1, sjobs-ws1 and Username=sjobs Can you guys advise me how can I achieve this? Any scripting ideas on windows? We also just started using SCCM, so anything there can also work.
-
-
- 1 reply
- 6.7k views
-
-
Hey Everyone, I've got a batch file that I'm trying to get to work and seem to be running into difficulties on getting the whole batch file to work. I'm guessing that I have something missing or incorrect. What I'm trying to accomplish is we currently have Java versions 7.0.45 both x64 & x86 platforms installs on all production client machines. My batch file will uninstall the x86 version of Java 7.0.45 and then install the latest version of Java 7.0.51 x86 without any problems. It's the x64 that my batch file is running into problems and does not uninstall it or install the new version of java (7.0.51 x64). Here's what my batch file looks like: @ECHO …
-
-
- 1 reply
- 7.2k views
-
-
-
We are trying to migrate from 2007 to 2012. Our collections won't migrate because we are using queries that reference a 3rd party product in 2007 that's not installed in 2012. Here's what we have select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemGroupName = "DOM\\APP-AdobeApproval" or SMS_R_System.ESDmemberof = "DOM\\APP-AdobeApproval" Since we have over 1000 collections and are still using ESD, we'd like to have a script return the above data to a file. Then we break that file up into smaller sections (…
-
- 1 reply
- 4.6k views
- 1 follower
-
