Tags » Scripts » Page 2

October 9-10, 2014

This week, we continued to work on our scripts and storyboards. We also decided that we will begin filming next week. We made sure that everything was ready for next week when we start filming. 21 more words

AD: Defining primary group membership with Powershell

NOTE: Be sure to change the Temp user/group entries in $NewGroup and $BaseOU to your required distinguished names.

# The current Domain
$DomainNC = (“LDAP://RootDSE”).DefaultNamingContext… 151 more words

Microsoft

Drowning in Writing!

I am taking three classes that all involve writing.

I have 2 stories to write for my fiction class

2 scripts to write for my film class… 74 more words

MSDB Scripts

Many times, you need to get informations from MSDB database.
I’m going to share some simple scripts that can help you.

Increase SQL Agent History Retention… 219 more words

Scripts

AD: Powershell script to disable and delete user accounts in a specific OU

#######################################################################################
##DisabledUserCleanup.ps1
##This script is designed to poll AD for any disabled user accounts that are over 30 days old and deletes them.
##The results are put into a file and then emailed to IT staff. 84 more words

Microsoft

AD: Powershell script to delete expired accounts

Import-Module ActiveDirectory
Search-ADAccount -AccountExpired -UsersOnly |
Where { $_.AccountExpirationDate -lt (Get-Date).AddDays(-30) } |
Remove-ADUser

Microsoft