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

get-acl and folder depth issue

Hello guys , i have a problem with my script getting acl. this script works fine but when i have a deeper folder with lot of files it doesn't work my application bug . but when i have a direct access...

View Article


Sharepoint 2010 Powershell Script Extract Problem

Hi, I have a SharePoint 2010 custom timer job that runs monthly. This timer job uses Pipeline for Powershell script that extracts all documents in our document library and puts them into a zip file....

View Article


How do I compare cells in excel using powershell

I would like to compare the cells in one excel spread sheet to match the second spread sheet.If ID in new xlsx = ID in the old xlsxThanks

View Article

Windows 8 - Unable to find a default server with ADWS running

I am having an issue using the Active Directory cmdlets on my Surface Pro device. When I try to import the Active Directory cmdlet I get the error message:WARNING: Error initializing default drive:...

View Article

Delegate Management Permissions for Replication Group using DFSRAdmin.exe or...

i am trying atomate process of creating replication group and delegate management permissions for a group using powershell & DFSRAdmin.exe. i could not find a way to do it in the powershell but i...

View Article


Use Powershell to replace characters within a specific string

I'm using a Powershell script to automate the replacement of some troublesome characters from an xml file such as & ' - £ The script I have works well for these characters, but I also want to...

View Article

objShell.Run Syntax...

How would I place the quotes (single, double, triple) within the following statement?objShell.Run "cmd.exe /c """ & "start """installer""" & "/b /high /wait" & "msiexec /x " &...

View Article

Office 2010 Will Not Deploy With Startup BAT File / MSP Configuration Correctly

We have 115 workstations that are running Office 2003 currently. We need to deploy office to these workstations in small groups at a time (Security groups with computer accounts added to them).I know...

View Article


Get the list of windows schedule task

Hello friends, i got the below from powershell.com that to get the list of schedule task, but is there any way where i can get the list of the task for couple of machines or for the machines from OU...

View Article


Run a Powershell ScheduledJob every 5 minues

Hello,I am trying to schedule a script, that runs every 5 minutes forever.I already registered the job with:Register-ScheduledJob –Name ShowDesktopInPortal –FilePath...

View Article

Combining two SAP GUI VBS scripts

Hi,I have two SAP GUI VBS scripts. Script No 1 runs a T code in SAP and ends with creation of new session.then, manually I have to go the this new created session to run Script No 2.Is it possible to...

View Article

various log files older than 5 weeks need zipping up (7 zip is installed on...

Hi,I've been asked to zip up some logs on various servers that are taking up quite a bit of space, these logs need to only be zipped, they don't need to be moved, ideally the logs will be zipped using...

View Article

Powershell scripts understanding required?

Can someone help me to understand below script notations?1.) $file = Get-Item -Path $filepathif($file -ne "") (What does -ne "" mean in this context. does it mean if file does not exist in the path...

View Article


Powershell Basics

I have not needed to write a script in a while, so I am ful of cobwebs and I need some help.   I am trying to write a PowerShell script that will do the following:Read a list of about 50 names in the...

View Article

split a share to get ip adress and reconnect the share

hello ,i would like to get the ip adress to connect a share with the ip adress and not the hostname.exemple :  \\server\share_namei want a system who get the ip adress and split,  pinging the server...

View Article


start-job scriptblock

Hi,I am trying to use start-job with a scriptblock while passing args.  The start-job runs, but the exe never starts on my local machine.  I can't figure out why it will not start.   Calling with...

View Article

Comparing data from a CSV file to data queried from WMI

Hey Scripting Guy! I am working on a script for our district to automatically name computers based on serial numbers. We have a CSV database that pairs each computer to a name via its serial...

View Article


VBScript to get local user account information and export to csv file

Hi,   I want a VBScript could help get the local user account information on specified computer like user name, last logon date & time, password expiration date & time...etc. Then, the output...

View Article

Change folder permission is not reflecting when right clicking the folder

Here is the issue i am facing - I logged to my machine with admin right and ran the commands to test how to change folder permissions as mentioned in other discussion pages.It worked fine with no...

View Article

get-acl display groups and search groups inside

hello,i would like to know , if its possible to get members of local groups in acls and display it:Get-Acl \\frhomassfs01\Applicat | Format-List -Property {$_.accesstostring }i can get groups inside...

View Article
Browsing all 15028 articles
Browse latest View live


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