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

vb scripting

hi i am learing vb scripting..... could you please provide material and vedios???

View Article


PowerShell query to update/insert value to table

Hi All,I am  new to SQL query, But I have a requirement of updating/inserting data depending on values in a table.My requirement is,We have few computers which will update hostname, admin password...

View Article


[EWS] Uploading existing mail (with CreateItem) ends marked as draft

I try to migrate existing mails from a custom mail-system to Exchange. I use CreateItem in order to upload the mails in Exchange folders (for ex. in Inbox). The problem is that the created mails are...

View Article

I need help with GUI interfaces in powershell - Nathalie

Dear all, I will first explain what the situation is. I have created a GUI interface in which the user can select items by means of buttons, drop down lists and so on. There is one item in the drop...

View Article

Powershell pass switch to scriptmethod

Is there a correct syntax for passing a switch to a scriptmethod like you can to a function you can pass a switch to a function: function func ($parm1,$parm2='defaultvalue',[switch]$switch1)...

View Article


Chrome Scripting

I am relatively new to scripting through Powershell 3.0, but I have had minor experience with the command prompt.  I have a few batch files where I was able to access chrome incognito automatically by...

View Article

Not able to run defrag using batch file?

The following script is saved using batch file, which works well under window XP, but not window 7I have set my account to be administrator, and still not able to run.If I run as administrator on this...

View Article

Desktop vs. Laptop scripting problem

Hi,We have a somewhat complex scripting problem involving a web site, desktop computers and laptop computers.We have an internal web application made in ASP.NET. This web application uses a web service...

View Article


powershell determine if a CSV is "Online (Redirected access)" or "Online...

I have a PS script that runs every morning to generate a report like the table below.<style>BODY{background-color:white;}TABLE{border-width: 2px;border-style: solid;border-color:...

View Article


question about 'date'

Part of me doesn't care, but part of me is curious.  Where does 'date' translate to 'Get-Date'?If I type 'date' in powershell 2.0 and 3.0, it seems to be an alias for Get-Date:--begin example--PS...

View Article

Powershell What to Learn

While I know that Powershell can do practically everything that I computer is capable of, as a casual user I am typically not facing the same challenges that system admins do for their career....

View Article

Changing Scripting Host from WScript to CScript for Drag&Drop Operations

Hello everyone,today I've run into a strange problem using the Windows Scripting Host. I've written a script that generates longer output texts and thus wanted it to run using the CScript interpreter...

View Article

How to find a file with recent create date with a specific name

How to find a file with recent create date with a specific name.I have 5 files with names is as below, I have a requirement to find out the recent file among them using vbscript.All are located under...

View Article


Powershell script to show User Profiles (not only Current User Profile)...

Hello Guys.I  asked to find a PS script to show  computer users language and regional settings and export them to a text file.  It must be contain information like which Language  Keyboards added on...

View Article

Define LDAP query with objectclass

HiWe have a 3. party software that can get information through LDAP but can't figure out how to define the search string.If I type "OU=Test,DC=internal,DC=contoso,DC=local" it will return all users in...

View Article


LVR Legacy Group Script issue

reverting back to the command converting LVR groups... Having a slight issue and I am wondering if you can look at this script and provide input. $groups = Get-content...

View Article

how to call ssis package installation wizard

I have to call SSIS deployment wizard on clicking on manifest file but instead execute SSIS wizard is opening how to change wizard in below code of powershell, I mean to say here, when I run this code...

View Article


Powershell ISE – change indent/tab size + keep tabs

Anyway to change indent/tab size in Powershell ISE? Something simple like in Visual studio IDE:Tab size 2Indent size 2Keep tabs

View Article

Powershell Question

Hi all!  I have created a csv file and have imported into Powershell.  I have a script that I want to run to use the data from the CSV file but I am not sure how to link the two.  Can you guys point me...

View Article

Script to kill a process based upon memory utilization

Can any help me or provide me with a script where it kills a process if it reaches above threshold limit?sachin

View Article
Browsing all 15028 articles
Browse latest View live


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