scripting
need to script something ? do it here
124 topics in this forum
-
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
-
-
Hi Guys, I got some code that i need to extend to include detection of vista windows 7 2008 etc and was wondering if anyone could give me some assistance. basically i need to add detection of windows vista and 7 and possibly w2k8+ ....any ideas...have nfi btw... looking at snippets atm trying to solve.... '========================================================================== 'Determine OS using WMI '========================================================================== Dim sWXPP, sW2KP, sW2KS, sW2KAS, sW2KDS, sW2K3S, sW2K3W, sW2K3E, sUnkOS, sWbemOpSys Dim oWbemServices Dim cOperatingSystems Dim oInstance sWXPP = "Microsoft Windows XP Professional" sW…
-
- 2 replies
- 14.7k views
-
-
First, sorry if this is in incorrect forums. I'm trying to get HP EliteBook Product Number from WMI with VbScript, but I can't find it anywhere! It used to be (in older models) like this: HP Compaq nw8440 (ES592EA#AK8), but newer models only give this: HP EliteBook 8530p. The info was taken from Win32_ComputerSystem / Model. Where could this model number info be now?
-
- 2 replies
- 11.5k views
-
-
Hi is there any easy way to change the server for "Imap"Incoming mail server and Outgoing mail server, with a Script? i have to change it on around 200 clients... tryied to find resulotion but not... (the company is using LDAP, IMAP) //Morgan
-
- 2 replies
- 5.2k views
-
-
Looking to rename but have no idea how to package this. My script is below and think I'd have to bypass execution policy. Rename-Computer -NewName "PC0001" -DomainCredential Domain01\Admin01 -Restart Just not sure how to create a package for something like this.. Thanks for any replies.
-
- 2 replies
- 4.2k views
-
-
We have a system in place that displays a Blank Screen and logo in place whilst loading your network drives and profile. The reason for this is that we simply want to ensure the PC has had enough time to load all the services and applications on your computer prior to giving you your desktop. This system provides that we can have a single logon script set through GPO at the root level of our domain and then INDIVIDUAL mappings per site and country. This guide assumes that you have first setup Windows Server 2008 and configured it for Active Directory. In a production environment please consult Technet for best practise, see below links: Design Active …
-
- 2 replies
- 8.8k views
-
-
How do you it through TS? thanks for any help
-
- 2 replies
- 4.3k views
-
-
Hi, I have some cad programs that require .net 3.5 on many clients windows 10. I have tried many things running it from the cmd prompt in a task srquence and I am not successful. I have written a batch file that works when I run it on a local machine. The only thing is UAC prompts you to hit ok which when running on a local machine is fine. However when I run it as a batch file in a task sequence you can see that it appears to run with no errors. I guess it is waiting for UAC to say ok. Is there a way in the batch file to automate that to say ok in order if it to proceed. Or if there is another way to do this please share. I have a…
-
- 2 replies
- 3.9k 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
-
-
I am a powershell noob so I am hoping someone can point me in the right direction. I have many different task sequences as part of an XP to Windows 7 migration and when I run across a model of PC that we didn't know we had I have to manually add the new driver package to all those existing task sequences. Anyone know of some usefull powershell commands that would add the new driver package into any existing task sequences?
-
- 2 replies
- 3.5k 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 thought I would advertise my book here as I need all the shout-outs I can get! The book is entitled: ConfigMgr - An Administrator's Guide to Deploying Applications using PowerShell I think it's pretty good, but then again, I'm probably biased. You can get it here: https://leanpub.com/configmgr-DeployUsingPS Sorry about this advert - I hate adverts too. Sometimes, you just...gotta.
-
- 1 reply
- 4.1k views
-
-
Hello! I'm going to need some help here! I have a task from client to do some cleanup for their W2008 fileserver. I'm asked to move all files and folders older than 3 years (modified by). But This need to be done so that folder structure itself remains same even for the files and folders that are being moved. Idea is that when some random user asks to get some 5 year old picture from folder X we can find it easily. This task needs to be done so that ALL files older than 3 years are moved. Even if they are located in folder where is lots of newer files AND folder structure will be same where files will be moved. Is there anybody who can help me? Thank you! …
-
- 1 reply
- 3.7k 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
-
-
The script below will tell me the uptime on PC's. I want to add the language that says if Uptime is greater than X amount of days then it will send a reboot in 15 Mins. Any help would be appreciated. # This PS script provides Uptime and Pingstatus for list of computers. ####################################################################### $names = Get-Content "C:\Test\computers.txt" @( foreach ($name in $names) { if ( Test-Connection -ComputerName $name -Count 1 -ErrorAction SilentlyContinue ) { $wmi = gwmi Win32_OperatingSystem -computer $name $LBTime = $wmi.ConvertToDateTime($wmi.L…
-
-
- 1 reply
- 7.9k views
- 1 follower
-
