scripting
need to script something ? do it here
124 topics in this forum
-
-
On the page it reports various powershell scripts under the download section at the bottom of the guide, I'am unable to locate them could you please inform where they're are Thanks
-
- 3 replies
- 3.8k views
- 2 followers
-
-
Dear All we need patch or script to uninstall autodesk products
-
-
- 4 replies
- 4.3k views
- 2 followers
-
-
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 guys, I've got reboot task sequences setup for all my patch groups to ensure they are ready to be patched and are compliant. We are a retail facility and had a patching freeze over Thanksgiving. I was asked to shut off ALL reboot task sequences during the blackout, not just on the ones that would have patched groups during that freeze. Most of my patch groups throughout the month fall on an early Sunday morning when things are quiet. However, I enabled the pre/post RTS (reboot task sequence) for my dev group at 4:40 PM on Friday for a Sunday morning patching and they ended up grabbing the policy and rebooting around 5:10ish. Needless to say I shut off the o…
-
- 0 replies
- 3k views
-
-
Hi All, I've notice my SCCM clients not responing to my main server. So I started looking and notice the following in our login script. I'm not a expert in scripting but please explain to me what will the following do to my SCCM clients ================== Sub SMSSite() Dim smsClient, inParam, result If Site <> "DurbanPlessey" OR Site <> "Killarney" Then "This will only exclude these sites" Set smsClient = GetObject("winmgmts://127.0.0.1/root/ccm:SMS_Client") Set inParam = smsClient.Methods_.Item("SetAssignedSite").inParameters.SpawnInstance_() inParam.sSiteCode = "C00" Set result = smsClient.ExecMethod_("SetAssignedSite", inParam) End If E…
-
- 2 replies
- 9.1k views
-
-
Hi all, Having an issue re creating our build process in the new SCCM environment i've been building lately. During the deployment of an OS we have two visual basic scripts that run after the OS has been booted into for the first time that add the PC to the correct AD groups and starts the 802.1x service (i know there is probably other ways of doing this but i'd rather replicate than redesign). This works flawlwessly on our current live SCCM but in the new one, which is working with Windows 10 rather than 7, i cannot get it to run during the TS, i just receieve an incorrect function error, whereas if i run the script manually on the Windows 10 machine it works as exp…
-
- 3 replies
- 7.7k views
- 1 follower
-
-
Hi, Can some one please tell me an application to create VB script easily? Thanks
-
- 1 reply
- 4.6k views
-
-
Hey Guys and Gals, i am wondering if anybody has a hostname change and reboot WITHOUT rebooting in between? thanks all Jammy
-
- 2 replies
- 9.5k views
-
-
Im trying to output the content from from a tracert command to excel however i am unsure how i can output this in an excel cell.... any ideas? Set WshShell = WScript.CreateObject("WScript.Shell") Ping = WshShell.Run("ping -n 2 -a " & HostName, 0, True) tracert = WshShell.Run("tracert -4 " & HostName, 0, True) objExcel.Cells(intRow, 1).Value = UCase(HostName) Select Case Ping Case 0 objExcel.Cells(intRow, 2).Value = "OK" Case 1 objExcel.Cells(intRow, 2).Value = "NG" End Select Select Case tracert Case 0 objExcel.Cells(intRow, 3).Value = "OK" Case 1 objExcel.Cells(intRow, 3).Value = "NG" End Select Basically PING is OK and NG and works per…
-
- 0 replies
- 5.2k views
-
-
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
-
-
Hello: I am trying to reaquaint myself with VBScripting and I need to write a script that will CALL several applications one after the other and install them as I run the script. Can anyone put me on the right track here? Thank you
-
- 1 reply
- 3.6k views
-
-
- 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
-
This script will load a command line variable for the username or can auto to administrator and password from an ini file. ' Initialization Set wshNetwork = CreateObject("WScript.Network") Set shell = CreateObject("WScript.Shell") Set fs = CreateObject("Scripting.FileSystemObject") ' Get parameters Program = "AutoLog.vbs" If WScript.Arguments.Count > 0 then username = WScript.Arguments.Item(0) Else username = TranslateLocalUser("Administrator") End if If WScript.Arguments.Count > 1 then password = WScript.Arguments.Item(1) Else password = ReadIni("C:\Build\Settings.ini", "LocalAdmin", "localAdminPassword") End if computerName = wshNetwork.Com…
-
- 0 replies
- 10.4k views
-
-
Greeting All, I am trying to come up with away to duplicate my desktop in windows 8.1. I have found many articles about customizing the Start Screen when imaging, but I can not find anything about customizing the desktop when applying a windows 8.1 image. Can anyone help me with a script to customize the desktop on a windows 8.1 image, or even point me towards a few articles that discuss cloning the layout of a windows 8.1 desktop not Start Screen. Thanks all
-
- 0 replies
- 2.6k views
-
