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

Manager users in lync 2013 with vbs

Hi all!In powershell is not so hard, but, to our company standards I need write this solution in vb script and i didnt found any usefull snipett. My need is1. add a lync user if it is member of a...

View Article


Newbie needing quick PS command for AD and MSOL modules

Hi everyone. I am really really sorry for asking a question that I am sure has been asked before but I need to retrieve data in the next few hours to present in a meeting.Using Powershell 3.x with the...

View Article


Script to install printer, help!

My company does not use Active Directory. We just put a new printer in, and I want to install the printer by deploying a script through Novell. I have the script pretty much all ready to go, except it...

View Article

how to create a context menu using powershell

Hi i would like to create a context menu for powershell but i am getting an error after powershell menu is created"This file does not have a program associated to it. i am using this script . I am...

View Article

Find a computer in Active Directory with just the IP address (PowerShell)

I was asked to find a computer in the Active Directory based solely on its IP address, and DNS was only giving me ip-<blah)>.reverse.example.com. I managed to get this working in PowerShell...

View Article


Select AD object according to lastpassword changed date

HiI have a PS command that search for AD object displaying the name and password last set property"Get-ADComputer -filter * -Properties * | Select-Object name,PasswordLastSet"the command returns the...

View Article

Powershell send mail with custom voting option without using outlook object?

Hi,I am currently sending emails through using new-object Net.Mail.SMTPclient because the server that runs the script does not have outlook application.My goal right now is to be able to send automated...

View Article

Export to CSV report of AD users

I need to export a list of Active Directory users based on their COMPANY with the following information:FirstName (sn) LastName (givenName) Email (mail) Position (title) Department (department)...

View Article


I am trying to Run a VBScript inside VBScript

I am trying to run this script inside of another Script But I keep getting errors on thisDim objShellSet objShell = WScript.CreateObject("WScript.Shell") objShell.Run "cmd /k cscript j:\prnmngr.vbs -ac...

View Article


Remote Powershell: howto enable for ip address over vpn?q

Hi,I have a vpn-connection to a remote site (remote site in different domain -lab-environment), no trusts or whatsoever). How can I connect remotely via powershell?As for now, enter-pssession...

View Article

Writing a batch file

I'm trying to write a batch (uninstall.bat) to uninstall a program from a few computers automatically. But I'm not seeing how to get the command line to automatically do this. I know I need to have the...

View Article

Preform checks to multiple folders for few files like if they exists or not

hey guys,need you help on a batch script.the scenario is like, there are multiple folders in system and i need to check if there are few particular files exists or not in each folder.any help will be...

View Article

Please help with IPv4 script

Hey guys,I could really use your help. I downloaded the:Get computers ping status, IP, OS version, sp version, uptime and last boot guifrom...

View Article


Adding groupType to exported .csv - PowerShell

Hello -I am a very new user (have only known about PowerShell for a couple of weeks) and have cobbled together the below script to pull information about all the Groups in AD.  The script works great...

View Article

Scheduling a PS1 in Active Directory module

I'm using task scheduler to try and run a ps1 file.  I can't get the arguments right. I've tried the following with no success:%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -command...

View Article


Need help with VBScript Urgent

Hi, I am working on a specific project which requires a file to be updated on all users machine before deployment. I have tried a script which is not working and does not give any error either. Please...

View Article

Batch file extracting all files from nested archives

I have managed to leverage a powerful forfiles command line utility with the mighty 7z compression program.Below is a simple batch file extracting all files from nested archives hidden at any depth...

View Article


run menu command to open ipv4 properties on NIC directly

hi friendsin windows 2008, to set ip address in GUI, we need to run ncpa.cpl, select NIC, properties, select ipv4 , select settings. as we see this is a long process.is there any trick so that we right...

View Article

Finding valid values of a Parameter name in Powershell

I am a beginner in PowerShell. I was working with this command:Get-EventLog -Logname SecurityIs there any place PowerShell help or otherwise that lists all the valid values of the Logname parameter. I...

View Article

Check Access table if data exist

I am working on an ACCESS 2013 database.I want a way to be able to manually add data to a dropdown table with data already in it.I want to a data exist check then add the new data if it's not already...

View Article
Browsing all 15028 articles
Browse latest View live


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