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 ArticleActive 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 ArticleADAM 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 ArticleSomebody 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 ArticlePowershell 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 ArticleHelp 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 ArticleBrowseforFolder 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 ArticleQuery 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 Articleread 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 ArticleProblem 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 ArticlePowershell 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 ArticleHelp 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 ArticlePowershell 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 ArticleBulk 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 ArticlePlease 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 ArticleNeed 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 ArticleTry 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 ArticleExecute 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 ArticleGet 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 ArticleQuery 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