Skip to content

scripting

need to script something ? do it here

  1. Hi, How can I install a language packs on windows 10 1909 using PowerShell offline? These machines do not have access to Microsoft stores to download the language pack online. What files are needed from the FOD? how do I find which files belong to language pack and which files are for something else? I need around 16 different languages I already download the FOD but everything is in one folder. I try to install the Client_de cab but that doesnt install all other features like, keyboard, speech We have more then 4000 machine to do this on, I will be using sccm to do this but need to make sure all of the languages and script are avaiable locally …

    • 18 replies
    • 28.7k views
  2. 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!

  3. Okay Scripting Masters, I'm not very good at doing scripts, but I know that a cscript or just a VBS script would work to "PIN" the "Software Center; C:\Windows\CCM\SCClient.exe" to the Start Menu. What would the code look like at getting that done? Thanks again

  4. Started by anyweb,

    to do this you need to be using Windows Server 2003, Windows XP or Windows Vista (Windows 2000 doesn't support it) open a command prompt and paste this wmic.exe path win32_NetworkAdapterConfiguration get /format:htable > win32_NetworkAdapterConfiguration.html This will create a new file called win32_NetworkAdapterConfiguration.html which you can open in a Web browser (IE please, Firefox won't render this correctly) here's a sample of the file win32_NetworkAdapterConfiguration.html Under the IPAddress column, you'll see the IP address of the current Network adapter, you may see many listed (PPOE and more) here's the same query in text …

    • 0 replies
    • 26k views
  5. Started by jamitupya,

    Just something i use to modify the default user hive for our windows 7 deployments.... @ECHO OFF REM ***************************************************** REM Script configures the Default User Profile REM ***************************************************** echo. echo. Load default profile HIVE and apply registry settings. echo. REM Load the default profile hive REG LOAD HKU\Default C:\Users\Default\NTUSER.DAT REM Configure the default user profile REM Customise Wallpaper Theme Screensaver etc. REG IMPORT HKDUser\HKU_ControlPanel_Desktop.reg REG IMPORT HKDUser\HKU_Themes.reg REG IMPORT HKDUser\HKU_Software_MSWin_DWM.reg REG IMPORT HKDUser\HKU_ControlPanel_Colo…

  6. Started by king13p,

    Hello, I'm working on a Powershell script to install Autodesk products. I'm having issues with a step and hopefully someone can help. I've tried this many different ways and keep running into errors. Using double quotes (Start-Process "msiexec.exe" -ArgumentList ""/i $dirFiles\ABDS2017\Img\x64\RVT\RVT.msi INSTALLDIR="C:\Program Files\Autodesk\" ADSK_SETUP_EXE=1 /qb!"" -NoNewWindow -Wait -PassThru).ExitCode Error Cannot validate argument on parameter 'ArgumentList' Argument is null or empty. Using a variable to define InstallDir $RevitInstallDir = "C:\Program Files\Autodesk\" (Start-Process "msiexec.exe" -ArgumentList "/i $d…

    • 1 reply
    • 16.9k views
  7. Started by Ocelaris,

    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.4k views
  8. Started by Thomas M,

    I pull this info out in order to have a complete register of all our computer systems in case of theft or insurance issues. DNSHostName=XXX10001 Manufacturer=LENOVO Version=ThinkCentre A57 Model=970273G SerialNumber=LMXXXXX UserName=Domain\Username FullName=Lastname, Firstname Middlename Caption=Microsoft Windows 7 Enterprise Version=6.1.7600 OSArchitecture=64-bit InstallDate=20100728133244.000000+120 IPAddress={"10.0.0.2","fe80::19da:933c:93c4:51a1"} MACAddress=00:11:22:33:44:AA Here's the script @echo off WMIC PATH Win32_ComputerSystem Get DNSHostName /Value | FIND "=" WMIC PATH Win32_BIOS Get Manufacturer /Value | FIND "=" WMIC PATH Win32…

    • 2 replies
    • 16k views
  9. 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…

  10. Started by jamitupya,

    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
  11. Started by jace5869,

    Basically what I need is a script that will somehow look at the MAC address (possible through ipconfig /all or sysinfo or something) of the Local Area Network connection (on-board NIC) and change the computer to something like: C:> ipconfig /all IP ........................... 192.168.0.2 Subnet mask............ 255.255.255.0 Default Gateway....... 192.168.0.1 MAC........................ 00-1E-4F-F5-89-66 Add 'US' to the MAC -> US00-1E-4F-F5-89-66 -> Remove the dashes -> US001E4FF58966 Sorry, for dragging out all of that, I just didn't want any misunderstandings about what I was trying to achieve, I'm not great at scripting at all -- I…

    • 4 replies
    • 14.6k views
  12. I need to install Symantec Endpoint Protection, what would the command line be like in powershell where I can call a .ps1 script in a completely hidden and silent way? I did a previous TS that copies the setup64.exe from SEP to "C:\TEMP\" I don't have much knowledge on powerhsell as would the script that would install it silently? the argument for installing it via Batch File is / s. However, the CMD window appears during Windows logon, and Powershell can do all of this without any windows appearing, and I wanted powershell to wait for the installation to finish (I researched this and think the parameter is -WaitProcess but I don't know where how to put it) and…

  13. Started by salle,

    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
  14. Started by anyweb,

    let's say you need to pull values from the operating system WMI class, in XP you can do as follows:- open a command prompt and try this wmic.exe path win32_BaseBoard get /format:htable > win32_BaseBoard_test.html the above will pull all values for win32_BaseBoard and place the output in a html formatted table which you can view in Internet Explorer (will not display correctly in Firefox). attached is an example output of the above code. cheers anyweb win32_BaseBoard_test.html

  15. Started by packager,

    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 ?

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.