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

NTFSSecurity 3.2.3 PS module

Hi allI downloaded and am using this module: NTFSSecurity 3.2.3. Link:https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85I then proceeded to create the following...

View Article


Parsing XML File and Writing to Excel

Hello guysI seem to be having an issue writing to an excel file in my script which parses an XML file and returns data which I want to be saved to a new excel file. I am confused because when I use...

View Article


Button Generating question

Hello, I have been working on a powershell gui app that gets all the session for putty that I have saved in the registry and creates a menu for them. I am able to get the list and assign it to a list...

View Article

Replace Invoke-RestMethod in PowerShell 2.0

Hello everyone,I'm usingInvoke-RestMethod -Uri $URL -Method Getin my script, but this cmdlet in not available in PS 2.0 and unfortunately I'm stuck in envinronment with this version.Is there solution...

View Article

User account expiration (Not password) script, to retrive users who's...

User account expiration (Not password) script, to retrieve users who's password is going to expire in 14 days and send email to respective user's manager attribute.

View Article


Powershell out-file csv to columns

Is there a way to use the out-file command and load data into a csv file so when opened into excel it shows data in multiple colums. Example. Loop with three variables($a, $b, and $c). each time...

View Article

How do I change the font color in a Powershell form?

Hello Scripting Guys!I am back with another question for you. I am working on a form to create external contacts and have it complete. I am working validate the fields and have that almost complete....

View Article

Exchange 2010 - Bulk Create Secondary Email Addresses for Dist-Groups and...

Hi, I have 500 Distribution Groups and 700 Mail Contacts in my Exchange 2010 Env't we are going through a company merger and require us to add in a Secondary Email Address to the above.  We cannot use...

View Article


External contact properties

Hello again Scripting Guys!Today I have pieced together a script to create external contacts. Everything is working find but I have been asked that when I create them to have the box under the E-mail...

View Article


SQLPLUS from Powershell

Hi,I have a piece of sql code which I am running from powershell. The output is the count. If the count is greater than 10, I need to execute a command. Is there a way, I can modify my script so I can...

View Article

Scripting help to populate proxyAddress in AD

Hi guys, I could use your help with this..I have an AD in which I need to populate every user´s proxyAddress in a specific OU using the city attribute (already populated). So every user should have...

View Article

Script for KMS client activation

Hi all,I want to use script .bat for kms client activation. But i create file bat with this content and it not run.Please help me, what i wrong on this bat. @echo offcscript.exe...

View Article

Powershell script to Copy a list of specific files from a network folder...

I have a list of files that were sent to me. for example (CFN123123*, CFN123124*, CFN123321*)Now all these files end with .PDF, but the clients do not know the full file name because people have added...

View Article


Cant get PSCredentials to work

HelloAfter spending 3/4 of the day and geting nowhere I have decided to ask here. I have a scripts which I need to run which pulls data from an anonymous share. The server hosting the share was...

View Article

Running VBS to install a new driver

Hi all,I understand that I am unable to bypass the UAC prompt, but I was wondering if there is a way to workaround it.This is what I have to do:Some pc requires new driver installation. I need to make...

View Article


split Get-acl accesstostring into manageable strings

HiI am trying to report on folder access rights with get-acl. I get the folder name as well as the access list without problem, however I would like to filter the accesstostring part so that i can...

View Article

Use Get-ADuser and Set-ADUser Powershell to set extended Schema attribute...

Thanks in advance for any help.I have been trying various ways to set the value of an attribute added to the AD DS schema.Attribute "googleAppsDomain" is a Case Insensitive string.Test users located at...

View Article


Creating a URL from a script

I am trying to link an indeed account to the application we have on our website, problem is the application can only be linked to URL like http indeed.com for example. The customer service...

View Article

Using cmd: Copying a file into all file folders in a drive

Hi,Using cmd, I need to copy an excel template into all folders (and not their subfolders) within one drive. Have managed to copy to specific folders by specifying their names but need to do it to...

View Article

VB script to detect drive name from where it is running and deleting folders...

Hi ,i have written this VB script, which will createa directory structure if not exist. Else, if the directory structure exists, it will clearn all the files and folders from it's path keeping only the...

View Article
Browsing all 15028 articles
Browse latest View live


Latest Images

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