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

Need help creating an automated 'return license'-function for my workplace...

Hi! We're having trouble at our office with shared licenses for MagiCAD (a plugin extension for AutoCAD), that needs to me manually activated and returned. The problem is that people forget to return...

View Article


GPO to run existing desktop shortcut at login

HiAll,Im attempting to create a GPO that will run a desktop shortcut when the user logs in.Ive created the GPO and navigated to Computer Configuration > Policies > Admin Templates > System...

View Article


Using Windows 10 Toggle object

I am trying to figure out how to use the Windows 10 horizontal toggle object in a PowerShell script. I have seen where it can be used in C# if you have XAML.  Does anyone have any ideas how to...

View Article

Start-RobustCloudCommand.ps1

Hi - A while back there was a script posted to the scripting center to help with throttling issues when running commands in...

View Article

Is this even possible?

Scenario - Original XP unit died (used to run machinery) New unit secured but is running Win10. UAC cannot be disabled on system at all because reasons. Issue -  Software from old XP machine and...

View Article


Image may be NSFW.
Clik here to view.

PowerShell side-by-side issue EventID 59

Hello,I have two machines so far in our organization where I'm getting the side-by-side error when running powershell commands using CMD.exe. We have no issue running this script on all computer models...

View Article

vbScript copy a file by running windows 10 file copy GUI

I have a script that copies (potentially) a large number of big files from one drive to another. What I want to do is to use vbScript as the front end, but for each file that is copied I want to...

View Article

Is there a way to find out where this powershell script is being called or...

Hi, I have a powershell script that is constantly taking all the memory on our server. It caches 29 GBs of memory and uses 2 GBs leaving only 1 or less GBs of space for the rest of the processes. I...

View Article


how do I read from standard input in powershell

This works in a cygwin/bash script:sort <<EOF xyz tuv sdd abc EOFHow do I do the same thing in a powershell script? How do I tell the standard sort.exe to read from standard input until it sees...

View Article


Cannot Run Psexec through powershell_ise

When I run the following.\psexec.exe \\computer cmd.exeI get the following output; PsExec v2.2 - Execute processes remotelyCopyright (C) 2001-2016 Mark RussinovichSysinternals -...

View Article

Problems Setting Process Priorities

edit: This was my first attempt at scripting so I didn't really understand what I'd written, but the problem is real even if the first line of code wasn'tI'm currently Transcoding my DVD collection to...

View Article

Parallel scripts execution

Dear All,Is there someone to bring me some light in what i'm trying to do:launch 3 powershell scripts in parallel through a master script, and get the correct result of the children scripts(without...

View Article

Enabling ICS from Powershell

I tried the script found here.I already tried the link below.http: //social.technet.microsoft.com/Forums/lync/en-US/88003b3b-0e5c-49a7-bb20-cdbbbb435d09/enabling-windows-ics-from-powershellWhile it...

View Article


Enabling ICS with Powershell

I tried the info on the following page:link left out as the system doesn't trust me just yet...

View Article

AutoAdjust the field in Excel to lenth of the data in the field via Powershell

When I export a csv file and open excel my data is there but the fields are tight. I have to stretch them out to see all the data. How can I make it Auto adjust to the data in the fields via...

View Article


Password Never Expires

Hello,i have this script;------------------------------------------------------------------------------------------------------------------------------ Import-Module ActiveDirectory $Resetpassword =...

View Article

executing remote bash linux script from windows (Windows Subsystem for Linux...

Hi, I need run some cmd or powershell script in background (e.g. Windows tasks or SQL server job).The script should connect to remote Linux VM and execute remotely some bash scripts.Would be possible...

View Article


Allowed to Authenticate right on Computer object

Hello.I search to add the "Allowed to Authenticate" right on all the computers in an OU.I have tried to do this with set-ACL powershell command, but I don't understand how I can really do this.Can you...

View Article

get-wmiobject param

trying to get the C drive capacity from a list of serversparam([string]$vm)get-wmiobject -class win32_logicaldisk -computername $vm | ?{$_.deviceid -eq "c":"} $vm = get-content servers.txtwwany idea...

View Article

Not able to send recurring email

Hello,I need to send one email on a daily basis with the same subject, recipient and time. So I find one easiest way using Batch file using Outlook. I created a template and saved in one location and...

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>