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

Set Scope for Virtual Machine in 2012 R2 WMI v2 Namespace

Basically, I want to know how to set the scope for a hyper-v vm in Server 2012 R2 so users see only the specific vm's assigned to them. I work at an academic institution, we intend to upgrade our 2008...

View Article


WMI Class error with Win32_VideoController Adapter Ram

Whenever I pull the AdapterRam string, it returns a negative resulteg: -1gb ram when the adapter actually has 3gb.See original post that was posted to the wrong section of the forums for further...

View Article


How? Using an alternate account with Powershell DSC Package Resource and...

I'm attempting to install SCCM2012R2 (among other things) as the local Administrator account using the below Powershell DSC script.Would someone mind giving me a good working example, or better yet,...

View Article

Automating Telnet Script

Hi, I need a script which would do telnet the server say 1.2.3.4 and it should populate the user name and password. It should also perform the commands in telent server also.I'm not able to pass...

View Article

error creating efi partition with powershell

Hello. I have a problem when trying to create the partitions for installing windows 8 on a GPT disk. The error happens when trying to create the efi partition. The command that is in bold. The error...

View Article


List of exchange users with mailbox size per database.

Hello Friends, Need small help i need to take out the list of users start with Alphabet A, B , C till Z per database along with their mailbox size limit so is there any simple way to get the...

View Article

Looking to parse a lot of web pages with PowerShell

I'm trying to compile a large number of baseball stats that are on a website, unfortunately those stats aren't displayed in an easy way to get to. What I need PowerShell to do is this:take a URL as...

View Article

An issue regarding time zones of Date and Time values retrieved from Exchange...

Hello folks, I need your help as I'm pretty new in MS Exchange and Power Shell technologies. So here is my question... How can I retrieve Date and Time values listed below in UTC using Exchange Power...

View Article


telnet smtp server

Hi Guys,I am totally new to scripting. I have created a vbscriptI am telneting smtp server on port 25 through the below script:Option Explicit On Error Resume Next Dim WshShell set...

View Article


Help with script for custom shell to generate C header file

I'm dealing with the VS 2010 solution that uses git repository and callsthis batch script as pre-build event:sh.exe %cd%/build_tools/autorevision -t h > src/autorevision.h.lf IF NOT EXIST...

View Article

PowerShell Output - Need Help Exporting / Format to CSV File

Hi everyoneIm trying to make a script where i  can list all computers with a name like 'ATANS*" and their group membership.Im pretty newbie at scripting so i guess my code is not the best. But it does...

View Article

Anyway to auto-export a SharePoint list to Excel, and run macros against it?

Is there any way to create a job that will export a SharePoint list to Excel, run a couple macros against the worksheet, and save it as a csv to a file share?Current process:1. Double-Click .iqy file...

View Article

Split CSV file into multiple fixed width files based on criteria

Hello and thank you for taking a look at my question!I have a CSV file that I need split into 2 files based on what values are in a specific column then output each column to a defined fixed width....

View Article


Deploy a web role with RDP capability

When building a project in VS prior to publishing, I can select to enable RDP. Looking at the PS cmdlets, it’s a bit confusing to understand whether I can decide to NOT set these options when packaging...

View Article

Script to list all SSL certificates of multiple computers with all properties.

Hi,Need help to list all SSL certficates in excel available on multiple computers. Also, it details should have all properties of certificate.Thanks!Pranay (MCSE, MCITP)

View Article


Collect Last Login from list of machines

Hi Sir,I have a list of machines which are in domain. i need the LAST LOGIN person and TIME on these machines. Can we get these details through a script. Otherthan checking the event viewer on each...

View Article

How to use the debugger reg key to create a launcher ?

Hello,I am trying to find a way to run a launcher script (batch or vbs) that would run instead of the called program, would perform some actions, and then launch the said program. I plan on doing this...

View Article


Powershell automation

Hi,I have several tasks that I'd like to automate - flushing the DNS on multiple servers (for example).I've found a powershell script for this purpose (from...

View Article

Completely new at powershell... can I get a little assistance with AD?

Hello, I have a challenge that I believe powershell is probably perfect for, but I have no idea how to do it.I need to populate the "IP Phone" field in Active Directory user accounts for each of my...

View Article

batch net del + creation drive with same letter

We use a program that automatic, depending on the day of the week, makes several copy's and starts other programs to update files and afterwards copy these to the appropriate directories and...

View Article
Browsing all 15028 articles
Browse latest View live


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