scripting
need to script something ? do it here
124 topics in this forum
-
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.6k views
-
-
Hi all, I am trying to export everything from the production SCCM environment, using PowerShell. Collections, Applications, Packages and Task Sequence export works just fine, but the Driver Packages is giving me some trouble. I am using the following cmdlet, expecting to get the driver package with all the driver files in it Export-CMDriverPackage -Name $my_name -ExportFilePath $my_export_path -WithContent $true –Verbose –ForceWildcardHandling Any idea?
-
- 7 replies
- 4.6k views
- 1 follower
-
-
I'm trying to run a script against my computers with SCCM. It's a very simple powershell script (it has to be, I'm not much of a scripter), and it works perfectly from the command line. However, when I try to deploy it from SCCM it fails every time. I've tried writing directly to the share, I've tried mapping a drive, I've tried deploying it with admin rights and using the logged in user's rights. I'm hoping someone here can tell me what I'm doing wrong. The script is below. I know it works, but I don't know why I can't deploy it. # Write the value of the AutoAdminLogon key to $val $val = Get-ItemProperty -Path "hklm:\SOFTWARE\Microsoft\Windows…
-
- 7 replies
- 7.2k views
- 1 follower
-
-
Hi, I need help changing this script to start install from a share instead of files being downloaded and cached before installing... For use with SCCM 2012 $SPSSArgs = '"IBM SPSS Statistics 24.msi" AUTHCODE="mycodehere" INSTALLPYTHON="0" ENABLE_JAB="1"' $MSIexecArgs = "/qb ALLUSERS=2 /m MSIUQUPQ /norestart /i" Start-Process msiexec.exe -ArgumentList "$SPSSArgs $MSIexecArgs" -Wait Do I need to rebuild the whole script? Knut
-
-
- 6 replies
- 9.7k views
- 2 followers
-
-
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…
-
-
- 6 replies
- 12.3k views
- 1 follower
-
-
Hi Guys, Am not too good with batch script and PowerShell and am trying to amend an existing batch script to do a certain install but I keep getting "system error 55 has occurred" on the network drive path of the line, and also " error code 1605" for the install command part of the script I am trying to find a way to re write the scrip using PowerShell. the main action is to perform an install of an application which upgrades or updates the current application to new version on the local server. I want to re use the same script for other devices too. I hope the above makes some sense.
-
- 5 replies
- 5.8k views
-
-
Hello all Running SCCM 1606 Hoping I can get a push in the right direction. I'm looking to uninstall a program on a few hundred PC's. The package was deployed via SCCM , but the uninstall does not work so I dug up an PS script from online. The following PS Script works just fine if it's ran locally on the clients. $appVer = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match "Some Application" } | Select-Object -Property DisplayName, UninstallStrin…
-
- 5 replies
- 5.4k views
- 2 followers
-
-
I need a vbs script to check which language my OS is and install the adequate application. I had for example the update of RDP 6.1 for SP2 that I needed to deploy but I had some 1603 errors and I couldn't figure out what was causing this. Seems that it was just the language of the OS that was not matching. So I have a WindowsXP-KB952155-x86-ENU and WindowsXP-KB952155-x86-NLD
-
- 5 replies
- 8.1k views
- 1 follower
-
-
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
-
-
I am working for a company who is looking to create a new Windows 10 image. I have a powershell script that prompts for a Computer name and this all works fine by passing the OSDComputerName variable to the TS. I'm trying to introduce is another powershell script that will ask the user to select one of 2 domains. This is done by selecting one of 2 radio buttons in a Powershell Form called by a function. Whichever one is selected will create a custom TS variable and the variable will be passed on later to the Task Sequence and the correct Network Settings will be set dependent on which domain is selected. The problem is the Domain Select script doesn't seem to run as p…
-
- 5 replies
- 10.3k views
- 1 follower
-
-
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?
-
-
- 5 replies
- 8.6k views
- 1 follower
-
-
Hi Everyone, I am working on script that will do pre-check to verify if machine can be upgraded to windows 10. I checked couple of websites and videos that says setup will do pre-check with appraiser.sdb file for compatibility and decided whether machine can be upgraded. i am trying to access sbd file but couldnt do it. Can some please help me. Thanks, Pavan
-
- 4 replies
- 4.4k views
-
-
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…
-
- 4 replies
- 17.6k views
- 1 follower
-
-
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
-
-
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
-
