scripting
need to script something ? do it here
124 topics in this forum
-
I am very limited in my scripting abilities. I need a script that will change proxy settings per location. Example: Setting at this location the IP of the machine is 172.xx.xxx.xx (DHCP) and the proxy setting is 192.xxx.xxx.xxx port xxxx. I travel to another location the IP of the machine is 164.xx.xxx.xx (DHCP) and the proxy setting is 192.xxx.xxx.xxx port xxx. The proxy servers and the ports are different. Right now when someone travels to the offsite location we have to move them from one OU to another in order for the proxy to be set correctly. Could anyone be of help or point in the right direction. Thanks in advance. Kathy
-
- 4 replies
- 7.2k views
- 2 followers
-
-
Hey guys, Lately I've been setting up a back-end script for one of our customers. Part of this script was designed to send an email to the manager with the user and password for their newly created users. I posted the Email function on the tech-blog if anyone needs it. http://heineborn.com/tech/sending-email-via-powershell/ Take care.
-
- 0 replies
- 6.1k views
-
-
scirpt.txt Hi Difficult issue if there is anyone out there that can solve? We are looking for a solution to find why user ID roaming profiles are always corrupting for different users. Simply refreshing user ID roaming profiles via attached script is a temporary fix and doesnt answer why the user ID's corrupt in the first place Background points We have a large user base 6000+ and seperated user personal SAN storage space F drive from their roaming profile within a Vista client environment. Basically getting a range of issues whereby user IDs become corrupt with a number of bespoke applications. There are hundreds of requests to refresh a user ID via t…
-
-
- 1 reply
- 3.6k views
- 1 follower
-
-
Hi, I am looking for a script to copy the Group Membership of one system to another in AD from a system which is not connected to domain, below is the script which i wrote but getting error " Could not find the Name or Insufficient Rights to see Name, at this stage "objTrans.Set ADS_NAME_TYPE_NT4, strDomain & "\" & strComputer2 & "$" " please help Basically what the script does is it will prompt for Old computer name for Source & new computer for destination & it will create a computer account & copy the group membership from source to destination computer. Option Explicit Dim strComputer1, strComputer2, strDomain, strOU, intAnswer, …
-
- 0 replies
- 3.9k views
-
-
Hi All, Can any "Scripting-Rockstar" here help me out ??? I need a VBSscript which can perform "Disk Cleanup" action without any user interaction on user machines. I will later wrap it using WISE Re-packaging tool and then deploy it thorugh SCCM 2007. Its really urgent...!!!!! Please help out.
-
- 2 replies
- 9.1k views
- 1 follower
-
-
Dr. Tobias Weltner, a PowerShell MVP has written an excellent eBook about PowerShell. Dr. Tobias Weltner has written many books for Microsoft Press on Windows and scripting techniques so he is a real professional and knows his stuff inside and out. Big surprise: the eBook is FREE! For every one who wants to know more about PowerShell, this is a great opportunity. Go get it NOW from here. via > http://thoughtsonopsmgr.blogspot.com/2010/09/free-ebook-mastering-powershell.html?utm_source=twitterfeed&utm_medium=twitter
-
- 2 replies
- 7.7k views
-
-
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've just spent ages working through various methods for deploying Open Office 3.3 silently using SCCM 2007. I finally have a working solution so I thought I should share it. You need the Open Office 3.3 installer from OO's website and the DisableFirstStartWizard.oxt file, also available on their site. This particular install routine disables the first run wizard (leaves the user name fields blank), disables any on-line checking for updates and leaves the default file save as type as open document format. Extract the set-up file into an install folder and copy the oxt file into the same place. The batch file is; start /wait msiexec /qb /norestart /i openofficeo…
-
- 0 replies
- 5.1k views
-
-
I am looking to automate a prcoess as follows.. Input AD username Retrieve network location of AD User Roaming Profile Retrieve network location of home directory Copy certain items from roaming profile to home directory Delete network roaming profile This is purely so helpdesk staff can delete a profile using a tool rather than having to browse to a server and delete manually... I am guessing I can perform this via VBS but am looking for some pointers, I don't have any vbs experience but a starting point would be nice..! Thanks
-
- 1 reply
- 4.5k views
- 1 follower
-
-
I have the package created with the folder and files I need copied but I cant get a VB script to work that will do it. any ideas on how I could do that? Any help is appreciated, Thanks
-
- 3 replies
- 4.1k views
-
-
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
-
-
I'm trying to write a simple script that would first check at logon if a user is on our domain and if so, launch a website. This is so that they don't get "Page cannot be displayed" if they are not connected. So far I'm playing with: ipconfig > c:\IP.txt FINDSTR "10.5" c:\IP.txt > C:\Subnet.txt Now how would I use the IF command to check if 10.5 is present in the "Subnet.txt" and if so, launch the site? This is probably very simple but my knowledge of scripts is limited to Google. Thanks!
-
-
- 4 replies
- 9k views
-
-
I found this script for naming wimfiles during ztibackup but I cant get it to run. Get lots of errors, even after removing all the "'s. Can someone help me? —script begin— set env = CreateObject(“Microsoft.SMS.TSEnvironment”) Set ProgressUI = CreateObject(“Microsoft.SMS.TsProgressUI”) ProgressUI.CloseProgressDialog BackupFile = InputBox(“Name of wim file”) env(“BackupFile”) = BackupFile —script end—
-
- 0 replies
- 3.2k views
-
-
How can I prevent users to login twice from different machines? The Users should only be allowed to login once on the machine. Once he or she login into different machine, the previous machine will logout automatically. Is it have anyway to set this? (active directory) i knw the way to block with computer id, i want to block with user account? any one knw , plz help???
-
- 3 replies
- 8.5k views
- 2 followers
-
-
Hi, What is the best way to make sure files from a folder is regularly deleted ? A script that would do that which can be deployed using SCCM or a script that would be deployed by SCCM that will make use of Task Scheduler ?
-
- 5 replies
- 10.9k views
- 1 follower
-
