This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Create a new desktop wallpaper from various sources and optionally overlay some text. | |
.DESCRIPTION | |
The script can be run manually, at logon or even as a scheduled task to update the wallpaper regularly | |
Wallpaper sources include: | |
- A solid colour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.NAME | |
Get-PasswordGenerator.ps1 | |
.DESCRIPTION | |
Creates random passwords of varying complexity from ASCII table of characters | |
or phrases from random words selected from on posts on Reddit | |
Ref: http://www.asciitable.com/ & http://www.reddit.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################ | |
# Module Variables - Certificates # | |
#-------------------------------------# | |
# Customise report Variables | |
$EmailTo = $EmailTo | |
$EmailSubject = $EmailSubject | |
$ReportTitle = $ReportTitle | |
$ReportSubTitle = $ReportSubTitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Import photos into Active Directory | |
.DESCRIPTION | |
- Source files are collected in bulk from network location and filtered on Last Modified Date | |
- Source files must be in the format username.jpg and will be checked against valid AD users | |
- The files are copied and processed in a temporary working directory | |
- The files are resized (retaining proportions) and imported into AD | |
- Both the original and new files are date stamped and backed up (see Exported and Imported folders) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################ | |
# Module Variables - PC Health # | |
#----------------------------------# | |
# Customise report Variables | |
$EmailTo = $EmailTo | |
$EmailSubject = $EmailSubject | |
$ReportTitle = $ReportTitle | |
$ReportSubTitle = $ReportSubTitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################ | |
# Module Variables - Exchange # | |
#----------------------------------# | |
# Customise report Variables | |
$EmailTo = $EmailTo | |
$EmailSubject = $EmailSubject | |
$ReportTitle = $ReportTitle | |
$ReportSubTitle = $ReportSubTitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################ | |
# Module Variables - Veeam # | |
#-------------------------------# | |
# Customise report Variables | |
$EmailTo = $EmailTo | |
$EmailSubject = $EmailSubject | |
$ReportTitle = $ReportTitle | |
$ReportSubTitle = $ReportSubTitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################################################ | |
# Global Variables # | |
#------------------------ | |
# Email Variables | |
$SmtpServer = "exchange.mydomain.com.au" | |
$EmailFrom = "[email protected]" | |
$EmailTo = "[email protected]" | |
$EmailSubject = "SysAdmin Modular Report for $module $($Date)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Reports on Users whose passwords are about to expire | |
.NOTES | |
Requires Quest.ActiveRoles.ADManagementsnapin to get the AD attributes. | |
.LINK | |
http://www.theagreeablecow.com/2012/06/preventing-password-expirations-with.html | |
#> | |
# -------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare @user varchar(20) | |
set @user = '' | |
declare @ClientVer varchar(100) | |
set @ClientVer = '' | |
declare @server varchar(10) | |
NewerOlder