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

Find installed software from list of machines

Hi Sir,i have a list of machines on whcih i want to check whether a software in present or not. ex- "Symentic endpoint Portection" is present on list of machines ?i used wmic cmd but it runs on few...

View Article


Powershell opening and saving Excel 2013 file

I'm having an issue with Powershell 3.0 saving an Excel 2013 file. My script opens an existing Excel file, adds data to the next free row before saving the file and sending it via email as an...

View Article


Internet Explorer Document Title

Hello, everyone,I have been working on a script that automatically clicks on some buttons and links in Internet Explorer. One of these buttons opens up a new tab. So I would need my script to switch to...

View Article

Remote Execution of a script with Get-Child Item cannot find path

Hello!I have been tackling this problem for a few days now and I just can't find the answer.I want to execute scripts remotely in parallel so that each of remote machine will run the script with their...

View Article

Script needed to count all Word files stored in users home directories.

I am trying to put together a script that would query a particular OU within my organisation and achieve the following;1. List all users within the OU.2. Query Job Tiltles and Contact Numbers of those...

View Article


Integration - Windows Server 2003/2008R2: Creating a login script that...

We are currently running a windows server 2003 environment with a 2003 server being the DC. We have a couple of 2008 r2 servers that are member servers.OK...Our users are primarily operating off of...

View Article

Powershell ADODB Recordset getstring comma separated

I am having problems with the getstring method of the Adodb.recordset object in Powershell I wish to output a comma-separated string of a persisted recordset. I am not entirely sure the correct syntax...

View Article

PowerShell Difference between Set-StrictMode V2,V3,V4.

Could somebody please explain the difference between setting Set-Strictmode -Version 2, -Version 3, and -Version 4, as opposed to just using -Latest?

View Article


PowerShell Script to get Memory\Available MBytes

I have a SQL Agent job with 3 separate Operating System Command Steps.PowerShell.exe Get-Date PowerShell.exe Get-Counter "\\mmserver\Memory\Pages/sec" | Format-table -auto PowerShell.exe Get-Counter...

View Article


Powershell Script: Add users from an OU to an AD security Group

Hican anybody point me to a link or have a script which I can get a list of users from an OU then put them into an AD security groupRegards

View Article

Noob trying to Import/export CSV data to uppercase and breaking output

Hey guys,I have written a script to import some data from a CSV file based on some criteria i was given and which works great but I now have some additional requirements that I am struggling with,...

View Article

Finding all the certificates in the certificate store which has the option to...

I would like to know the script which can scan all the certificates from all the certificate stores on the list of remote serversWe would like to know the following in the output in a csv format . I...

View Article

Bulk import of users via CSV

Hi,I am using powershell to add new users to AD via a CSV. I am also using quest powershell cmdlets.My input file is as...

View Article


Printer Settings defalt "Black asnd White" for all Printers

Hii  need a Script who  change the local Printer setting from "Color" to  "Black and White"i know how i publish that to the Clinet PC´s but  i dont know  how i can give all Printers the Setting ..Thx

View Article

bulk AD and mailbox creation failing in CSV

i'm trying to create multiple accounts for Exchange and have this script:Import-Module ActiveDirectory Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 ....

View Article


Custom function with Null argument to parameter as input

Hi All,Was writing a PowerShell custom function, in which input parameter decides the logic inside the script.Script is somewhat like this ,get-uptime ($machine, $credentials) This function when fed...

View Article

Duplicate monitors using command line\script in iron-python

I want to use iron python script to extend desktop monitor. I found the HotKey for it in this site :http://www.petenetlive.com/KB/Article/0000162.htm but have no idea how to do it. Is there a way to do...

View Article


Reseting a Local Users Password on a Workgroup Computer

Hello AllCan someone please help me with the following issue please.Ultimate goal: Reset a Local Users password on a Workgroup computer (not joined to the domain) remotely. Assuming the workgroup...

View Article

batch net del + creation drive with same letter

We use a program that automatic, depending on the day of the week, makes several copy's and starts other programs to update files and afterwards copy these to the appropriate directories and...

View Article

Powershell listing of all files and owner to CSV

Hi Everyone, I have been working with PS for a very short time; but have pieced together a couple of approaches, neither is perfectat this stage.Option 1:Get-ChildItem C:\Projects -recurse | where...

View Article
Browsing all 15028 articles
Browse latest View live


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