Skip to content

scripting

need to script something ? do it here

  1. Hey Everyone Hope someone can help with this one. New to powershell but getting by pretty good until now. I need to take the content of about 3000 text files and the content of each text file written to a row in excel. Hope someone might be able to help with this as it is doing my head in.......I'm googled out........ Any help or advise would be much appreciated. Even if someone has done this is VBS would be good. Thanks Brendon.

    • 1 reply
    • 3.3k views
  2. Hi, I need a script which will enable me to achieve the following goals if someone could assist. All workstations are either WIn7 or XP (just a tiny amount of XP) Printer installs on each device are currently of an unknown ilk (each one has been installed manually!) The script needs to:- Remove ALL local and network printers Add the following printers \\printserver\mono \\printserver\colour We are only currently moving to print servers (i know, i know.. !) and i would like to clear up each workstation from a printing perspective and start again. Also, would you deploy this via policy? Or would you use SCCM2007. We have both. Any help w…

  3. Hi, my intention is to copy 2 files into a folder, where only the admin own full permissions. Normal user have only read permissions. The destination directory is: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security The new two files are: jocal_policy.jar and us_export_policy.jar i have to overwrite two files in destination folder, because they are to old. (or first, i delete the old two files and then copy the new two files) Here is my Batchfile, but i dont understand why nothing changes, if i send the batch file to a client: del "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\*.jar" copy %~dp0local_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jr…

    • 0 replies
    • 3.6k views
  4. 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
  5. Started by J03,

    Hi All, Can someone help me with a script (Powershell or VB) to populate the currently logged in username from Computers ? What I have ? A spreadsheet with Computer names. Eg: COMP001 COMP002 . . . COMP00n What I am looking for ? A script that reads Computer names from the spreadsheet and finds the currently logged in users on these computer and export the details to another spreadsheet in a something similar format. COMP001 Adam COMP002 Brian I tried some scripts which I got from different forums out there but I am not getting what I am trying to achieve. Thanks, Joe

  6. Hello Not sure where to post this so sorry if in worng place Thank you for reading my post. I am brand new to scripting so my apologies if this is rather basic – But everyone starts somewhere. We are running Windows 7 desktop on a 2003 Enterprise domain. I need to copy some short cuts files (eod8 extension) to the start menu under “All Programs” in a folder called “EOD”. The users must be able to save and open the shortcuts (so using the All Users folder did not work since a standard user can’t save to that location) So I am copying the files to the local user profile. My Script setlocal set Installpath=%~dp0 mkdir "C:\Users\%username%\AppData\Roaming\Mi…

  7. I'm looking for a smiple batch file or script that will completely uninstall and remove any version of Java. Any suggestions on what to use? Thanks again!

  8. Started by MadMacs77,

    Environment: SCCM 2012 sp1 Problem: Installs of Flash are failing with error 1603 Workaround: User runs http://support.microsoft.com/mats/program_install_and_uninstall/ Desired solution: Running a fixit script via a package on a collection of machines with these failed installs. Has anyone done this before, or knows how? I've been poking at it, but I've not found a clear "Here's how to script fixit" Thanks

  9. Started by petebuk,

    Hello all, I am new to scripting an need to implement a script to run at log in to add a local administrator account cewadmin and set a password. Any ideas?

  10. I have written a series on the PowerShell Deployment Toolkit (PDT). However, recently there has been a new addition of a GUI element. Check out the PDT GUI article on my blog here: http://adinermie.wordpress.com/2014/06/14/my-experience-with-the-powershell-deployment-toolkit-pdt-part-4-pdt-gui-for-powershell-deployment-toolkit/ Or check out the beginning of the series here: http://adinermie.wordpress.com/2014/01/26/my-experience-with-the-powershell-deployment-toolkit-pdt-part-1-downloader-ps1/

    • 0 replies
    • 4.2k views
  11. Hey guys, Been having a little issue with a customer i'm working for these days. They are running windows 8.1 clients, and need some shortcuts pinned to the metro start screen, these include shortcuts to folders and shortcuts to network files/folders We have got a great way to do web addresses in SCCM 2012 R2, but unfortunatly that does not cover i.e. exe files on the network, or shared folders and so on. I have found several scripts for this, both VBS scripts and PS scripts that i have used in windows 8, but for some reason they do not work in windows 8.1 ( VBS: http://gallery.technet.microsoft.com/scriptcenter/How-to-pin-items-to-Start-ee960ad8 PS: Several …

  12. 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
  13. Started by AJ82,

    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.

  14. 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! …

  15. Started by Gadric,

    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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.