scripting
need to script something ? do it here
124 topics in this forum
-
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, 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
-
-
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
-
-
Afternoon all, I am trying to setup a simple script that will determine if Drive E: exists and if so is it a CD Rom drive. Then based on that info run install command line. The if else logic seems to work but I'm having a hard time getting the install cmd to run. Any help would be greatly appreciated, I'm also open to other ways of doing this. Exit code btw is 1622. Cheers, Mike $instdir = Get-WmiObject -Class Win32_LogicalDisk | Where-Object {$_.DeviceID -eq "E:"} If (!($instdir)){ $process = start-process -filepath "setup.exe" -argumentlist '/s /v"/l*voicewarmup \"%temp%\besclientinstall.log\" INSTALLDIR=\"C:\Program Files (x86)\BigFix Enterprise\…
-
- 3 replies
- 7.5k views
-
-
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
-
-
Hello, I had a question on PowerShell Version: 5.1.19041.1023 If you look at the attached screenshot you'll see what I'm curious about. I run this command in PowerShell ISE: Get-CimInstance -ClassName win32_computersystem -Property * | Get-Member -MemberType Method You see what it displays in the display window. But when I run WEBMTEST and I choose OPEN CLASS and then Win32_ComputerSystem you'll notice the METHODS don't match what you see in the ISE command. My question is why? Thank you.
-
- 0 replies
- 2.2k 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
-
-
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
-
-
Hi..Need Help... got a requirement where a HTA Wizard needs to be prompted while OSD via SCCM. Selection 1 : Select Dept ( ex : HR/Accounts/Marketing) Selection 2: IF HR selected, an another dropdown to be displayed with Agency names assosiated ( ex : AM/PM/TA/AM) *In the same way every Dept has multiple Agencies. Depending on the above selection, the computer name needs to be set for ex : <HR><AM><SerialNumber> Let me know if there are any such sample scripts as such or any pointers or someone would have already worked on such scripts before
-
- 2 replies
- 3.2k views
- 1 follower
-
-
How do you it through TS? thanks for any help
-
- 2 replies
- 4.3k 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
-
-
- SCCM
- powershell
- DP
- Distribution Point
-
Tagged with:
Hi, I have to modify a distribution point value with powershell script. The value is PrestageAllowed who locate in wmi class SMS_SCI_SYSRESUSE like screenshot http://imageshack.us/photo/my-images/27/sanstitrewi.png/ Thanks fz
-
- 1 reply
- 5.8k views
-
Hi all, I need some help and it might be something easy. I have no scripting skills and tried various methods on the internet but it's not working. All I want is for the TS to ask me what computer name I want for the deployment, some sort of popup.
-
- 3 replies
- 5.6k views
-
-
I have the package created with the folder and files I need copied but I cant get a VB script to work that will do it. any ideas on how I could do that? Any help is appreciated, Thanks
-
- 3 replies
- 4.1k views
-
-
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
-
