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

Manipulating object values in a collection

I have the following collection,.....     $group = a,b,c,dI am trying to access a group under an OU...... the users are under the following structure           OU            sub level                a...

View Article


Active Directory Query

I'm trying to find a way to search AD to find all users who have the 'userWorkstations' ADSI attribute populated with a certain computer name. (ex. COMPUTER001) Anybody have any ideas?G14TS

View Article


ADAM binding

Hello all,I wrote a script to fetch datas from our adam. (the port is good in this case)Set objDomain = GetObject("LDAP://servername.fr:10389/OU=facilities,DC=mydomain,DC=fr") objDomain.Filter =...

View Article

Somebody Help on ADAM Vbscripts

I am unbale to find the sample scripts for Active directory application module (ADAM), MS says it should be on  \LABS_DEMO\LABS\VBScript directory , I  have the downloaded and installed the ADAM from...

View Article

Powershell and ACL

Im stuck trying to set permissions on a lot of folders. I have about 250 top level folders, which multiple files and folders below. In trying to explain this i will use the following structure:- Shares...

View Article


Help with powershell

HiI what I want to do is that it reads out all the folders from F: \ Test folder and writes it to C: \ temp without which it removes all folders containing al or AL. In the view itself in power shell...

View Article

BrowseforFolder using VBS in Windows 10

I have the following script that is used to open the file browser window so that I could select a file and then write the selected file name out to a text file.  It worked fine in Window 7 and 8.1 but...

View Article

Query for user accounts that have changed passwords in past 7 days

Hi,I have a query in below powershell script. My intention is to collect Active Directory user account details whose password is been changed past 7 days and also to confirm whether the account is...

View Article


read from my text for my starting project

Im a newbie still little things I can do, just watching some tutorial , I believe starting this project I will learn more.here what Im trying to do.I want to read the data from a text file, I have room...

View Article


Problem with the BrowseForFolder function

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt;...

View Article

Powershell ISE addons

Hi,There are some PS ISE addons http://social.technet.microsoft.com/wiki/contents/articles/2969.windows-powershell-ise-add-on-tools.aspxany particular that is interesting/you would advise to use?J.Jan...

View Article

Help creating a batch file for remotely installing software

I am fairly new to creating batch files and i am trying to come up with a script that will install software on a users computer from the server. Also trying to make a batch file that will change a...

View Article

Powershell to remove users from Local Administrators group

Friends, I need to remove user accounts from the local administrators group on 500+ servers. The servers & accounts are on multiple domains & forests. I'd rather not have to log into each box...

View Article


Bulk Mailbox / User / Home Directory w/ Logging Creator - Requesting Assistance

Salutations, I'm a new to the community and more importantly PowerShell. It is a language that I would love to master soon. However, I have been perusing various scripts within this domain and I think...

View Article

Please Help! Send an email using REST API in Powershell

HiA little new to this. After successfully retrieving email from my Office 365 mailbox (we have a hybrid deployment) using a powershell one liner (based on Invoke-RestMethod...) I wanted to send a test...

View Article


Need help in trying to extract user info from logon event ID 4672

I would like to extract the following information from the Message property: Security IdentifierAccount NameAccount Domain. So far what I have is:$UserLastLogonEvent = Get-WinEvent -Computer misw7v-120...

View Article

Try to create distributiongroups & Mailcontacts: Argument is null?

Hello EverybodyNothing works for me and i can't figure out why.I have powershell with the exchange-modules imported, started as admin, on The exchange-mailbox-server.First my code to create the...

View Article


Execute part of Script only if parameter is set

Hi thereI would like to merge two scripts which have actually only one command difference.In batch I would add an section and ignore this section if no parameter is given.But how to do this in...

View Article

Get computers with "Automatic configuration script" Enable. Proxy setting.

Hello guys,We are working with GPP to delete this key registry in our domain computers.HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURLWe dont need this key...

View Article

Query installing EXE using Powershell

Hi, I have a requirement where I need  to install " AdaptiveLogExporter_Setup.exe " and configure the same. But I was just trying to do a silent installation of the software and I used below script.Can...

View Article
Browsing all 15028 articles
Browse latest View live


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