Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

Append Email subject with recipient name

We have a bizarre scenario I am having trouble wrapping my head around, I hope someone can help. I am new here (To my current employer and to script center) and trying to replace this terrible way of...

View Article


how can i get the while loop to enter a different loop beside the first one

I can't seem to figure out how to change the value to enter into one of the other while statements in the script. I am new to this and can't seem to find anything how to enter in the information to be...

View Article


Home directory scripting

I am trying to script H drive creatation for new user builds via MS Orchstrator. I have a script that I put together that does add the appropriate permissions to the folder but only if I run the script...

View Article

internetexplorer.application activex component can't create object

I am getting the infamous 429 error with a new image of Windows 2003 Server.I am sure this is an issue with the Windows 2003 Server image, so I have to figure out a work around to get this  to work....

View Article

need help finding out which accounts in an OU aren't members of a certain...

Hi all,I'm new to scripting but I think what I need might be relatively simple. I have about 40 department OU's that contain users. Each user in that OU needs to be a member of that department's...

View Article


Getting Data from SCCM

Getting data from SCCM via Get-WmiObjectIf anyone can help me out I would certainly appreciate it. I'm new to powershell and I'm not understanding it very well.Here is what I'm trying to do, I have a...

View Article

Trying to use multiple if statements to set a variable in my script

I am importing a csv file to create user accounts.. i have it working.. but now i want to have the script look at a variable, and based on that variable set other variables, like the ou or home...

View Article

Script to disable USB 'Power Management'?

   I'd like to have the capability to have the "Allow the computer to switch off the USB port to conserve power' box unchecked. Instead of manually going to each PC, it would be great if I could run a...

View Article


Power shell script to add multiple aliases with a .csv file.

I have an email address lets say project@mailserver.org and I need 1000 aliases added to the email. For example Project1@mailserver.org, Project2@mailserver.org etc etc. and I have a .csv file with 990...

View Article


Find installed software on Domain

HI All,  I just want to find the installed software. Found following command but with the computerlist.txt file  But i need to know run against domain combining these two below...

View Article

email signature

any one got any sample html code for exchange 2013 email signatures?I'd like to grey out the disclaimer and bold and enlarge the company name, maybe even add an image? Some stuff works great in webmail...

View Article

Getting Help on WMI Classes

Hi,Does PowerShell provide help for WMI classes? I know Get-Help <cmdlet> gives information about the cmdlet. But is there something like, Get-Help <WMI class> which gives the information...

View Article

Can't find my mistake

I am writing a user creation script and just working through my variables at this point.  So i have the script importing a csv file with user info.  Based on that user info it creates a series of...

View Article


is it possible to add value to the attributes of in ADSIedit?

I had been using PowerShell version 3 and use LDAP query to query out both attributes and value from Active Directory. Is it possible to use powershell script to set value to the description attributes...

View Article

Windows Scripting to copy files

Hi there,New to Windows scripting. I have tried to create a simple script to copy file but failed. Most probably the syntax is wrong. Pls help. thanks.I give you my code below: @ECHO OFF SETLOCAL REM...

View Article


Image may be NSFW.
Clik here to view.

How to loop out selected property?

Hi,how to loop out the selected input value and able to loop out the rest of the property from imported csv file?For example, I want to look properties from just based on the sAMAccountName.This is my...

View Article

Running VBScript on remote computer....aaarrrrggghhh

Hello all,I have a vbscript that I cannot run on a remote computer, it uses psexec to run and if I run the line from a local CMD prompt it works,psexec.exe \\computername cscript.exe...

View Article


WMI Class corresponding diskpart vdisk available?

Hello,does anyone know if there is a WMI Class which gives the info I get with diskpart - list vdisk (specifically the file property)? I know there are some classes for Hyper-V, however looking for non...

View Article

VBScript to check if a user is a group member runs on Windows 7 & 8 but not...

Hi all,I have a VBS function (IsMember) to check whether a user is a member of a group or not - The domain, username and group name are passed in when the function is called... My dilemma is that it...

View Article

Server2012/Win8.1/PowerShell4.0 set printer permissions for multiple printers

Hey Scripting Guys!looking at the new Set-Printer command for 2012/Powershell4.0. we have a bunch of printers already added. I have changed the global perms on the printer server, but would like to mod...

View Article
Browsing all 15028 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>