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

Powershell Graphs

Hi,I'm trying to change the color of the values at the moment it does a yellow and blue and i would like red for disk used and green for disk free, but wondering what command i would need to input.here...

View Article


Image may be NSFW.
Clik here to view.

My computer can see my network drives, but Powershell can't

Having a bit of a strange issue with Powershell today, I went to open a script I had worked on last night and Powershell is telling me that it can't find my H: drive (my personal drive here at work)...

View Article


Script to parse last 24 hours from TaskScheduler Log Cannot figure out how to...

All,I've been tasked with parsing a single task from a server scheduled task and email that to a couple individuals and a distribution list. I had the email portion working, and am now getting...‘You...

View Article

remote way to find what version of windows a device is running

I am looking for a way to find what version of Windows a workstation is running remotely.  These workstations are on the same network, but not a part of the domain.  This means I have no credentials to...

View Article

Launching a powershell script from vbscript with different credentials

 Finally after many attempts, the line below does what it should.  Now I need to get the correct syntax to run it with alternate...

View Article


Need to import csv and manipulate one column

I have a monthly report output by an FTP program into CSV format. The CSV file has headers and 3 columns:1) a group name2) the number of transfers that group made3) the total size of all their...

View Article

how to get registry key lastwritetime using batch/powershell

Hello,I want to get a registry key's LastWriteTime using batch/powershell.  These are what i have tried..1. Launch regedit and manually export the key using the UI, this gives me the lastwritetime, but...

View Article

Image may be NSFW.
Clik here to view.

How to install MSP on selected computers via GPO Startup VBscript

Hi folks,I'm trying to write a vbscript that will run on startup and do the following:1) Detect whether or not a particular application is installed2) Determine if the latest version of said...

View Article


vbscript synax error - please help

Good Day,I've been asked to execute the following lines of code from a book I'm using an i'm getting the following error.  Btw I'm not a code guy so this is probably easily resolvable but if i knew I...

View Article


scripting about users with on line archive which is shared with others.

We need to generate a script that can retrieve all users in a specific MSAD OU who have:  - Full access permissions to another user on their mailbox, where the mailbox they have access to has an online...

View Article

Show-Command and Get-Command Show Different Commands

Is this normal Powershell behavior? Can anyone else recreate these symptoms?I've created a module (PS 4.0)  that has been revised multiple times. The problem is that if I run the command show-command...

View Article

Generate SamAccount

Hello @All I´am really new in scripting. I have have a Script that import User from a CSV file to our AD. The worst thing is that we have a name convention for the SamAccountname. there should be 6...

View Article

Export PowerPoint-slides to .jpg-files

Hello!I have been looking long and hard for a solution to this problem.I need a PowerShell-script to export all slides from a PowerPoint-file to individual jpg-images.I have found working scripts to...

View Article


Powershell splitting

Hi,I have one output for distinguished name as :CN=OSDWIN7SOE,OU=Laptops,OU=ABC Data Centre,OU=ABC - Mumbai,OU=ABC - India,DC=INDIAUAT,DC=ABCUAT,DC=COMI need a powershell code to only retrieve the CN...

View Article

PowerShell Regex help needed

Hello,I want to match a string if it contains the word 'Error' but don't match if the string contained 'Minor Error' or 'Small Error'I have tried the following but its not working"Minor Error" |...

View Article


HP Full Audit

Hi,I've been playing around with a script that audits HP equipment i've been amending the script to get details of what i want and i'm trying to get an audit of the mailboxes and size but it's coming...

View Article

Re: Use PowerShell to Find Metadata from Photograph Files

Hi,Just read the new blog and thought i'd try it.I got as far as setting and calling the $picMetaData for a folder. It didn't list anything when i just has a TIF file in there but when i created a jpg...

View Article


can registry key's lastwritetime be updated to a datetime in the past using...

Can a registry key's lastwritetime be updated to a past datetime using a script?  I am looking to detect fraudulent copy and  lastwritetime update of a registry key?Thanks in advance.ss883r

View Article

PowerShell Moving Object Issue

I have a script that I wrote to pull PC names from a csv file, disable them, modify the description then move them to a specified OU.  I'm running into a small issue.  For instance, I have a PC named...

View Article

Need help with user input

Hi, i´m new to scripting and need some help with a solution  I want to make a script that when executed opens a window (graphical like hta) that shows 3 fields1 - Text input and a search button this...

View Article
Browsing all 15028 articles
Browse latest View live


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