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

VBS Script to connect to network printer (clients dont have local admin rights)

Hi there.I work for Sharp Corporation and have a bit of a dilemma on my hands. We have sold a school with 660 odd pc's 30 copiers, some colour some mono. The issue we are having is connecting all the...

View Article


Timing Batch File Execution

When I first started using batch files, we didn't have a lot of things like long file names, requiring quotes. We also didn't have a choice between running things consecutively or all at once.Recently,...

View Article


Set ACL Recursively for a single folder within multiple directories

Hello,Share Directory is D:\ProjectsWithin Projects, we have several hundred project folders --001-001 Project A001-002 Project B001-003 Project CEtc.Within each project folder there are many folders...

View Article

how to update XML value in powershell constrained mode.

Hi Everyone. trying to work with azure automation which seems to run in powershell constrained language mode and just cant get an XML value updated like i can in standard powershell and completely...

View Article

Need to build a script

Hi, I need to build a powershell script that will remove a local administrator account from multiple computers on a network and also install a new local administrator account. Any guidance on this? 

View Article


Trying to pull currently selected item from DropDown ComboBox in Powershell

Greetings! I'm currently attempting to write a script that pulls the names of companies from a .csv then executes an install based on the selected company in the dropdown box. I'm pretty mediocre at...

View Article

MS Word - Mass text conversion hanging on some files

So I am trying to pull the text out of a lot of documents and upload the text to Azure. The script does work quite well but occasionally it hits a file that just freezes MS Word, I have tried...

View Article

i need to build a powershell script in azure AAD

I am badly in need of a help to build a new template of Pwershell script in our AAD which will add users to groups with their different roles.The script is meant to import the details from a csv file...

View Article


VBS Script input variable and use with wmic to apply value to registry

I'm attempting to re-write a script to change the last logged on user using a previous script as below:'-------------- 'Start of UAC workaround codeIf WScript.Arguments.length =0 Then  Set objShell =...

View Article


Get-AzureADDevice not showing all devices

Hi All,I just like to ask if I am doing anything wrong in this simple powershell command.I am not an expert in powershell or Azure so please bear with me.I type Connect-AzureAD...

View Article

Powershell combining get-aduser and get-adcomputer

Hi,I have a script with read-host to find users in AD, but i want to change it so it shows more information about the user and the computername he or she works with.What i like to do is:1: search with...

View Article

Powershell remoting job not accepting credentials

Hi AllRecently I've been trying to create a function that exports the contents of a mailbox to a share, waits for the process to finish and then imports the resultant pst file into another mailbox....

View Article

Image may be NSFW.
Clik here to view.

Script Help

Hi, I have some script that strips required numbers from the body of an incoming email and export the required fields as a text file.The problem I have is the 3 fields will export over 3 rows when...

View Article


Delete Infinit Looped Folders!

Hello, everybody, today I had a problem that a backup of a file server failed again and again. The problem was that a wrong installation of a SQL Developer package created its folder infinitely often...

View Article

Looking for help with a few powershell scripts

I have a few questions concerning powershell scripts, that I hope someone can help with.First is how I can make a script that asks for my birthdate, and then calculates how long I have lived, from this...

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 to replace the Xml content values using shell script

Can anyone provide me the help to write the shell script to replace the values for below shown xml.Thank you.<?xml version='1.0' encoding='UTF-8'?><preferences EXTERNAL_XML_VERSION='1.0'>...

View Article


Remote regedit - but edit currently logged in user entries.

So we have a small office setup where 1. Employees cant regedit  (Gp Restriction)  2. Remote Registry is on  3. We have a proxy server which the employees cant toggle on and off (Gp Restriction) Issue...

View Article

Help with regex

I need help with a regex that will match the following below where the only thing constant is 789- at the beginning and @domain.org at the end and the = sign in the middle. Any...

View Article

Dnscrypt-proxy starts then terminates on boot - no internet - SCRIPT TO...

   Background to problem:Our PC is Win 7 Pro 64-bit with 16GB RAM.   We have Verizon FIOS 1Gbps at home, so the setup is all pretty good. Five months ago, we installed Simple DNSCrypt 64-bit on our Win...

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>