This file contains hidden or 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 | |
Setup permissions for Zenoss monitoring on Windows | |
.DESCRIPTION | |
This script works under the assumption that you have a GPO or manually added your zenoss user to several groups. | |
In testing these are the groups that appear to work | |
Backup Operators | |
Distributed COM Users | |
Event Log Readers | |
Performance Log Users |
This file contains hidden or 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
function Set-Wallpaper | |
{ | |
param( | |
[Parameter(Mandatory=$true)] | |
$Path, | |
[ValidateSet('Center', 'Stretch')] | |
$Style = 'Stretch' | |
) | |
This file contains hidden or 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 | |
Use this script to download the Bing background image. | |
.DESCRIPTION | |
This script can be used to download Bing background images for use | |
as your wallpaper or to save. It uses a specially crafted URL that I | |
found while searching for a way to download them. | |
It appears that the URL will let you go back 18 days, or the last 8 | |
images. When you set Index to 18 and NumberOfImages to 8 a total of |
This file contains hidden or 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
Configuration Defaults | |
{ | |
param | |
( | |
[Parameter(Mandatory=$true)] | |
[ValidateNotNullOrEmpty()] | |
[string]$ComputerName | |
) | |
Node $ComputerName | |
{ |
This file contains hidden or 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 | |
Get the amount of time for an update to Office365 | |
.DESCRIPTION | |
This script makes a change to an account and then checks to see how long | |
it takes before that change is replicated on Office365. | |
.PARAMETER Tenant | |
This is your tenant name | |
.PARAMETER Account | |
This is the test account name |
This file contains hidden or 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 | |
This script will generate a proper XML helpfile | |
.DESCRIPTION | |
This script will build output to the screen a properly formatted | |
XML help file. I based this on one of the installed helpfiles | |
in System32. | |
.PARAMETER Commands | |
You can pass in the output from Get-Command cmdletname or you | |
can pass in Get-Command -Module moduleName |
This file contains hidden or 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 | |
Check stored values of w32tm against Vmware recommendations | |
.DESCRIPTION | |
This script checks the values of specific registry keys based | |
on recommendations from Vmware for virtualized PDC Emulators. | |
For more details please see pages 5 and 6 of this Vmware white | |
paper (http://www.vmware.com/files/pdf/Virtualizing_Windows_Active_Directory.pdf) | |
.PARAMETER Type |
This file contains hidden or 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
http://www.retrosheet.org/events/1952eve.zip | |
http://www.retrosheet.org/events/1953eve.zip | |
http://www.retrosheet.org/events/1954eve.zip | |
http://www.retrosheet.org/events/1955eve.zip | |
http://www.retrosheet.org/events/1956eve.zip | |
http://www.retrosheet.org/events/1957eve.zip | |
http://www.retrosheet.org/events/1958eve.zip | |
http://www.retrosheet.org/events/1959eve.zip | |
http://www.retrosheet.org/events/1960eve.zip | |
http://www.retrosheet.org/events/1961eve.zip |
This file contains hidden or 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
<############################################################# | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
############################################################> | |
[CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact="Medium", DefaultParameterSetName="Default")] | |
Param( | |
[Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelinebyPropertyName=$true)] | |
[string] $Path, | |
[Parameter(Mandatory=$false)] |
This file contains hidden or 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
Function Get-MofFile | |
{ | |
[CmdletBinding()] | |
Param | |
( | |
[string]$Path | |
) | |
Begin | |
{ | |
$MofFile = Get-Content $Path |