Folder which holds files of sql server data tools
Hi All, I want to know weather sql server data tools is installed or not.If it is installed then I would like to know which folder in C: drive holds the installation files of sql server data...
View Articlematch more than one arguement on a line
I read a file and I search some specific lines that contains the word "transfered" and the CODES "ZEN" and "ROK". My script should select only the lines with these three parameters BUT the ROK should...
View ArticleSendKeys not executing
Team,I am writing VBS to perform a number of SendKeys. All of the sendkeys commands work with the exception of: set a = createobject("wscript.shell") a.run "http://192.168.69.154/stalist.cgi"...
View ArticleExtract successful logins to output
I am working to create a script that will do the following:1) find successful logins of specific users. Check - Got this2) I need to output to a file with only a few variables. Right now I am working...
View ArticleGetting 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 ArticleScript to retrieve PC name and all Printers attached then output to txt file.
Sorry I am new to PowerShell and learning as I go. I want to use the get-content, and get-printer to output the name of a pc and all printers attached then write the information to a txt file....
View Articlehow do I input data for a switch parameter?
Complete newbie to powershell...I have set a parameter to be mandatory, but I am not familiar with the input format to make it work. My parameter looks like this [Parameter(Mandatory = $true)[switch]...
View ArticleScript to get the status of a PW in 365
I have been doing a ton of research unfortunately I don't think this is possible. I am looking to see when a password expires for a specific account that is only in 365. It is not synced with AD so it...
View ArticlePowershell to create Outlook 2013 POP email account
I have been searching and can see nothing that helps, without exchange. If I had exchange it seems there are a multitude. So, I have 1000+ (literally, and climbing...this is a common function, hence, I...
View ArticleExchange Logon
Hey guys, I'm trying to get the last logon time for a select few mailboxes. I am importing from a csv file containing the AD displayname, and description (both fields i need in my output) and the only...
View ArticleI have made a .bat file that shuts down my pc at a certain time, but I tend...
Im a student and a gamer, yet they tend to interfere with eachother cuz I am used to game until midnight :( I have made a batch file that shuts my pc down, but as the title says, I often just restart...
View Articleadd a line to end of the file using VBscript
HII am working with a software that only accept Vb script commands.I have a file that has 8 columns. I need to add a line at the end of the file using VB scriptI need this line to add numbers of amount...
View ArticleError message running powershell as admin, not running ISE as admin
I have a powershell script local on my dc. When I run the script from inside ISE (as admin) it works beautifully. When I run it just inside a powershell window (as admin) it gives me an...
View ArticleAppend an XML Fragment using powershell
I m running into an issues appending an xml attribute fragment. I had this working but now im getting the below errors. Below is the default xml structure and I want to add items under the Assignments...
View ArticlePoswerShell - Compare 2 x CSV files, only if data matches in column 1 add all...
OK, 1st the background... I have been provided a list of users of a particular group. We needed to know what computers (or IP's) the users are connected to...So, using Shared Folders, I have exported a...
View ArticleScript to query OU for last Windows update date and time
Hi All, I need help in writing a script which can query an OU in active directory and then return most recent date of windows updates installation. It will also be helpful if the script can sort the...
View ArticleBatch command to find service running or not
HI All, I have task to write batch script and find particular service is existed or not.If service is existed then I would like to know is it running or not.Can any one help me how can I do...
View ArticleCopy files with owner rights problem :/
Hello together,here's a short description of my problem:We've got a fileserver with several folders and mapped drives (e.g. home, dep, etc.) and we're about to move all files to a new storagesystem....
View ArticleScript to mail user before the expiry date of user accounts
Hi Experts,We have some user accounts (generic ID's) which are been created for a few months on users demand. I was trying to write a script which mail's to the mail id mentioned in E-mail Tab...
View ArticlePowershell multiple copy jobs starts simultanously
I have 4 html folders where the files are renewed and then the folder is copied around to some different locations.What I have done so fare is this:4 lines "copy-item UNC-PATH -recurse -destination...
View Article