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

Any Windows Script - Count Files in Directory and compare at a later time

Hello there, I am very new to scripting and am struggling with where to even begin with one of the tasks I have been presented with. I can work out in plain english exactly what I need a script to do...

View Article


Archive retention policy not working to some users

Dear all,I am trying to create an archive retentions  policy. I have created the "retention tag policy" and "retention policy". I have added the users inside the retention policy and enable archive for...

View Article


DFSR Backlog not including all servers

Hey there,I use the DFSR powershell module 1.1.1 to get a backlog report for all DFSR connections in our domain. It was working at first, but now I only see five of over 20 servers in the report, when...

View Article

Powershell Script that will move users shared folders

Hello Is there a Powershell Script that will move users shared folders to another SAN/Server location? Thank you

View Article

Powershell - List all servers in the domain and the OU

I have a script to list all the servers in our domain but I need it to output to a text file. Here is what I have but it is not working and hoping someone can help we out.$objSearcher = New-Object...

View Article


Row Count parameter in powershell

I am not a powershell expert so please help!I have a script which counts rows in the .csv file, I want to add "2 additional counts" to my row count for header & footer eg if the row count is 10 it...

View Article

Script to fix invalid characters for SharePoint synced share

I'm hoping for some help implementing a script that will rename files with characters that are invalid for SharePoint, in a synced file share that is accessed by everyone at an office.   Some...

View Article

Winfows Firewall rule

Hi alli need a script for enable firewall rules with inbound and outbound rulesplease help me

View Article


Move Computers from Text File to OU - PowerShell

I have a text file in the following format:Computer01Computer02I'm trying run this PowerShell Script against it that moves any computer name in the file over to the Dormant OU in our...

View Article


Assign results of a PowerShell command into a Windows Batch variable

Hi,I am calling PowerShell from a windows batch file. In the batch File I have a path with a wildcard and I need to invoke PowerShell to find a particular file where * gets replaced by 2104.What I...

View Article

Login Script Automated Home Directory Folder Creation with Appropriate Rights

Greetings,I'm new to scripting and need help in creating a login script that will automatically create a new user's home directory once they login with the appropriate rights to have full privileges to...

View Article

VBScript - XML from html site

Hello,I wrote a program which parses some specific data from a website. This is how I get the Values: set xmlhttp = createobject("msxml2.xmlhttp.3.0") xmlhttp.open  "get","url", false xmlhttp.sendThe...

View Article

Copy 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 Article


Afraid of executing a script on server

I have to make a script which deletes all the folders and files in the following directories on Windows Server 2008:D:\frotxy\out\backup\D:\frotxy\in\backup\Yesterday I tried executing the script from...

View Article

Windows Server 2008 R2 - How to batch create VMs in Windows Server 2008 Hyper-V

Hello professors,Recently we are doing a project with a high school, they want to build the VDI in windows platform, we have to create so many VMs in Windows Server 2008, we tried to find out a way to...

View Article


Get logged-in user via WMI query and using found value to retrieve some AD...

Hi,I need to retrieve the logged-in user from a computer system, and found a WMI-query, but with the result I like to retrieve some userobjects like displayname, telnr and mail.I was able to make a...

View Article

Image may be NSFW.
Clik here to view.

Registry path for Automatic Updates in Windows 8

Hello,I have a requirement to uncheck the check box shown in image below. Is there any registry path that I can edit or any script to do the same.Thanks in advance. 

View Article


Image may be NSFW.
Clik here to view.

Disable automatic maintenance without group policy through script

I want to disable automatic maintenance without group policy. Is there any registry key or script to change it. I want to unchecked the box which makes the settings.If we do it with task scheduler it...

View Article

Powershell Compare command

Powershell script what I create will verify to imported AD csv files and this is also working. Now the functionality I would like to see in my exported is also the old ParentContainer only cannot get...

View Article

Remove users from distribution group

I'm looking for some help with automating our disable script. I have a script that disables a group of accounts and moves them into a disabled accounts OU based on their samid. I just put all the IDs...

View Article
Browsing all 15028 articles
Browse latest View live


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