Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Powershell - verify AD information?

I'm looking to get a script going that will query AD and pull a user's Name, Title, Location, and Phone Number. Then it will email this user and ask them if the information is accurate or not. That way...

View Article


Image may be NSFW.
Clik here to view.

Powershell script to unpin start items in Win10

Not being much of a scripter, I'm trying to make a script work that is supposed to unpin items from the Windows 10 start screen. I found this...

View Article


Automated copy specified dir from all users personal directories to new location

I am looking to create a Powershell script that will copy the directory "emailArchive" from all my user's personal network drives to a secured location on the server under their name.Directories...

View Article

GUI VS Powershell VS DOS

Hi Guys,I am very new at PowerShell, I have always used the interface in AD so on to configure items and such.I want to start doing everything through PowerShell now, but was wondering what are the...

View Article

Powershell Script for Displaying email address, mailbox size, displayname

Okay just want to combine the two scripts.  I have the list my all users email address script. Get-Recipient | Select Name -ExpandProperty EmailAddresses | Select Name, SmtpAddress | Export-csv...

View Article


Powershell AD Users Enabled Help

Hello,I'm working on a script that will run as a scheduled task. It parses out AD and checks for enabled users within two specific OUs. If a user is enabled when it is run, it shoots off an email....

View Article

Powershell: Checking for No Password Set Accounts

Found this great article on 4sysops with a PS script to find what accounts you have in AD that don't have a password...

View Article

AD Replication script

Due to recent events I have been tasked to do a load of proactive tests every morning for the customers we manage. So I have to log onto a DC and create a txt file in the SYSVOL folder and confirm that...

View Article


Validate Get-Credential Input

Please note I am very new to PowerShell and I am sure there is a better way to go about this...I have written a basic script for unlocking and resetting passwords in AD. It lists all the accounts...

View Article


use a secure date value in a user script

I've got a script i'm putting together and i'm at a loss to figure out how to do something. hopefully my description makes sense.-this script should check the current date and if that does not match...

View Article

Pet Project - PowerShell

Hey everyone,I've got a project that I've assigned myself to try and automate the creation of new users on our network using PowerShell and potentially a populated .csv file.On the surface, this may...

View Article

Powershell script to do troubleshooting for some software

I want to write a script to do troubleshooting one software--splunk forwarder:1) test-connection2) change path to c:\program files\splunk\3) list forward-server4) restart-serviceText$ServerName =...

View Article

Powershell command to export all calender permissions and re-import them

Hello all,I am trying to work out how to export calendar permissions from a office 365 tenant to a new tenant.I am having trouble understanding how to do this in bulk I understand how to do it per user...

View Article


Need some fine-tuning of a script to remove mail and archive from old employee

This make look very crude to you Powershell gurus out there. I'm still getting my feet wet, but getting better. Powershell.'C:\Program Files\Microsoft\Exchange...

View Article

ReferenceObject is null

Hello powershell gurus. I'm trying to understand why I get return an error.TextCompare-Object : Cannot bind argument to parameter 'ReferenceObject' because it is null. Here is my code,Powershell#...

View Article


Windows 10 PS issue

I used to run the following script on a Windows 7 machine:Powershell$computer=read-host"Enter computer...

View Article

powershell detect user/computer last modified date

I am noticing that the usnChanged, whenChanged, and modified properties on user and computer objects do not update when the object gets added to or removed from a group.  Is there a way to detect this?...

View Article


Cannot set properties on variables after using escape in PowerShell

Environment: Win 7, IE11, PowerShell 3I have a setup that involves 2 large panel screens driven from a computer. I'm attempting to use PowerShell to display 2 different webpages, one on each screen in...

View Article

PowerShell - slides from Spiceworld London 2016

I have posted my slides from Spiceworld onto slideshare.nethttp://www.slideshare.net/ThomasFLee/2016-spice-worldlondonbreakoutEnjoy! 

View Article

Com error running MS Access Runtime from Powershell

I recently wrote a small powershell script frontend loader/launcher for my Access DB. The launcher part of the script:$ms_access = New-Object -ComObject Access.Application$ms_access.Visible =...

View Article
Browsing all 15370 articles
Browse latest View live


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