How to check who has local administrator in a Domain environment in PowerShell?
We are in an active directory domain environment, and wondering how to check to see who has local administrator. Is there a way to do this?
View ArticleIf this & this = this then execute Powershell
As I continue my quest to learn more about powershell here is my next question. :) I'm writing a script now that will check the values of a csv file then if two of the values are false it execute the...
View ArticlePowershell script running piped AD Get commands and display result in one csv
I want to run several ad commands to retrieve the following AD information:Domain, Description, Group name,Type, distinguished name, managed by, full name, user name and dispaly name. I have found the...
View ArticleScript to Find Installed One Application in our Domain
HI, Try to find the way to get the One application called "Vission remote desktop" in our domain computers?Try below but cannot get the report? Import-module activedirectoryGet-ADComputer -Filter * |...
View ArticleProblems with creating a customized Office 2013 .msi installation for Win 8.1
I'm trying to create a .msi of Office 2013 (x64) for department-wide deployment on Windows 8.1 machines. This .msi is to perform a silent install of a customized Office 2013 suite, activate licensing...
View ArticlePowershell ISE encoding
Hi everybody.Does everybody knows how to change the default encoding in the Powershell ISE?My commands results are fine under powershell.exe, but as soon as I try into the ISE host, it's not.For...
View ArticleWhat was your PowerShell project this week? 6/27/14
Somehow, another week has gone by! Since it's going to be a short week next week this will be your last chance to talk about your current projects until the following week.So, what's up in your...
View ArticleRead IIS Logs using Powershell
Hi,Can someone help with the following.I am looking for some powershell help which will monitor IIS logs for http 503 and 449 errors and send me an email alert when this occurs.ThanksVin
View ArticleEdit - Problems with creating a custom Office 2013 .msi installation for Win 8.1
EDIT: First off, thanks for the help in directing me on how to approach this project. Turns out I need an OCT file (created and configured for the Office installation process), so all I need now is to...
View ArticlePowerShell Ignores Arguments for W7SP1.exe
I'm using a powershell script to install service pack 1 on all the windows 7 machines that don't have it already. However I've found that the powershell.exe ignores the reboot options and just reboots...
View ArticleImporting Multiple AD Users - Powershell
Hello all,I am just learning some powershell and have created a Excel file with user names to Import into powershell. The user names are mapped to the same OU which makes the import super easy.My...
View Articlebest method for crawling a fileshare
I am trying to use PowerShell to crawl one of our fileshares that has ballooned recently, find files modified in the last, say, 14 days. this fileshare has 350k+ files on it dating back to before there...
View ArticleMartingale betting
So a friend of mine told me about something calledMartingale betting. You may have heard of it before, basically when you play roulette or any other 50/50 game you double your bet after each loss so...
View ArticlePowershell & Software Restriction
Hi Folks,I've created a powershell (love powershell) script to create an exchange mailbox and then create the Office 365 account too. Works beautifully on any server, doesn't work beautifully on my...
View ArticleAD userlists and groups they belong to with PS
Hello!I am looking for a way to list all users from AD and then to another column I would need to get all AD groups they belong to using PowerShell.I have made it to the point where my script lists all...
View ArticleHide PS window but not launched process
I'm trying to make a simple script to delay launching SpeedFan when the computer starts up for a set amount of time to avoid it bogging down the system. I have the script working pretty well and for...
View Articlepower shell script to copy the home directory contents of list of users
power shell script to copy the home directory contents of list of users (AD) from one server to another server and then delete it from the source server
View ArticleHow to export the output of for each loop into txt file
I wanted to export the out put of this for each loop into a text fileI already used exportcsv function.Import-Module ActiveDirectoryGet-Content D:\testAD\test.txt | ForEach {Get-ADUser $_ -properties...
View Articlepowershell script to insert e-mails into SQL dBase
Powershell# Open SQL connection (you have to change these...
View Article