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
{$MODE OBJFPC} | |
{$H+} | |
{$APPTYPE CONSOLE} | |
program getwinmsgs; | |
uses | |
windows; | |
var |
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
# ----------------------------------------------------------------------------- | |
# Remove-DSACE.ps1 | |
# Written by Bill Stewart ([email protected]) | |
# ----------------------------------------------------------------------------- | |
# ----------------------------------------------------------------------------- | |
# This is a PowerShell script replacement for dsrevoke.exe: | |
# http://www.microsoft.com/en-us/download/details.aspx?id=19288 | |
# | |
# Why write a replacement? |
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
# Update-FileText.ps1 | |
# Written by Bill Stewart ([email protected]) | |
#requires -version 2 | |
<# | |
.SYNOPSIS | |
Updates text in files using a regular expression. | |
.DESCRIPTION |
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
# Update-LibreOffice.ps1 | |
# Written by Bill Stewart (bstewart AT iname.com) | |
#requires -RunAsAdministrator | |
#requires -Version 5 | |
<# | |
.SYNOPSIS |
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
# Get-ADGroupMember.ps1 | |
# Written by Bill Stewart | |
#requires -version 2 | |
# Version history: | |
# 1.0 (2019-12-04) | |
# * Initial version. Only searches the current domain. | |
# |
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
// FixUnquotedServicePaths.js | |
// WSH script written by Bill Stewart (bstewart AT iname.com) | |
// | |
// Corrects each service on the local machine that has an "unquoted service | |
// path" and logs its actions to the application event log. | |
// | |
// The idea here is to run this as a computer startup script, so that unquoted | |
// service paths will get identified and corrected automatically at every | |
// reboot. | |
// |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<!-- | |
UserAccountControl.hta Written by Bill Stewart (bstewart AT iname.com) | |
Provides a simple GUI for examining and toggling individual bits for the | |
Active Directory userAccountControl attribute. | |
Enter the userAccountControl attribute into the box at the top of the form |
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
# Get-Message.ps1 | |
# Written by Bill Stewart (bstewart AT iname.com) | |
# Version history: | |
# | |
# 0.1.0 (2023-07-11) | |
# * Initial version. | |
# | |
# 1.0.0 (2024-05-14) | |
# * Improved: MessageId parameter now allows unsigned 32-bit values. |
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
# Get-ComputerGroupMembership.ps1 | |
#requires -version 3 | |
#requires -RunAsAdministrator | |
<# | |
.SYNOPSIS | |
Gets a computer's group memberships based on resultant set of policy (RSOP) data. | |
.DESCRIPTION |
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
# Rename-ScheduledTask.ps1 | |
# Written by Bill Stewart (bstewart AT iname.com) | |
#requires -version 3 | |
<# | |
.SYNOPSIS | |
Renames a scheduled task on a computer by copying an existing task to a new task, then deleting the original task. | |
.DESCRIPTION |