• Home
  • Virtualization
    • Citrix
    • VMware
  • Coding
    • Apache
    • Powershell
    • VBScript
  • Applications
    • Windows
      • DHCP
      • Group Policy
      • MDT
  • Mobile
    • Android
    • iOS

the STONYWALL blog

where my mind comes to rest...

Menu
  • Home
  • Virtualization
    • Citrix
    • VMware
  • Coding
    • Apache
    • Powershell
    • VBScript
  • Applications
    • Windows
      • DHCP
      • Group Policy
      • MDT
  • Mobile
    • Android
    • iOS
  • Clear Windows Event-Logs

    Derek Bannard February 1, 2019     Comment Closed     Powershell, Windows

    This powershell script… well, function. Will enumerate all Windows even-logs and clear them. This is useful when you want to cleanup a template image or just don’t want any logs hanging around for some reason… your reasons are your own business.
    function Clear-EventLog { Write-Host Clearing all Windows Event-Logs. -ForegroundColor Green wevtutil el | Foreach-Object { Write-Host "Clearing Event-Log $_"…

    Read more »

  • Quick Tips: Citrix Studio Application Folder Rename

    Derek Bannard October 24, 2018     Comment Closed     Citrix, Powershell

    Quick Tip, again so I don’t forget.   This should be done on a computer with Citrix Studio and the Citrix PowerShell modules installed. Usually a Delivery Controller. Launch an administrative PowerShell prompt. Load the Citrix PowerShell modules. asnp Citrix.* Run this to update the “Folder (for users)” with the “Folder (for administrators)” location. (Get-BrokerApplication | where ClientFolder -ne AdminFolderName)…

    Read more »

  • PowerShell: Copy and Move Files Using Robocopy and CSV

    Derek Bannard August 31, 2018     Comment Closed     Powershell

    This script will read from a CSV file and get Source, (Copy/Move) Destination and Description. CSV Filename:  <ScriptName>_SrcDst.csv
    CSV Header Layout:  Source,CopyDestination,MoveDestination,Description   It will do the following: Copy files from Source to CopyDestination. Move files from Source to MoveDestination. Write to a Log File to a Logs folder (creates it if it doesn’t exist) Log file is named the…

    Read more »

  • Quick Tips: MDT Task Sequence – Hide From OS or WinPE

    Derek Bannard August 31, 2018     Comment Closed     MDT, Quick Tips

    Hello and welcome to Quick Tips. This quick tip is designed to show a method of limiting the display of MDT task sequences that do not apply to a full OS or a WinPE environment.  If you already know, this will be a refresher.   Limiting a Task Sequence to Display on WinPE Open the task sequence. Under the General…

    Read more »

  • MDT 2013: Moving Computers Into Correct OU on AD Join

    Derek Bannard August 30, 2018     Comment Closed     MDT, Powershell

    When joining a computer to Active Directory (AD) using MDT, you really don’t get too many options. On a fresh install, where the computer AD object doesn’t exist, it will place the computer AD object into the default “Computers” OU or the OU you designate. What happens when you try to join a computer using MDT when the AD object…

    Read more »

  • MDT 2013: Creating a New Template

    Derek Bannard May 22, 2018     Comment Closed     MDT, Powershell

    This script will create a new MDT task sequence template based on the “Client.xml” file and adds it to the list of available templates.  It adds a few “extra” features, which are listed below. Template Name: Windows 10 Client Task Sequence
    Added Features:
    1) Adds a custom step for a drivers path variable “DriverGroup001“, utilizing %Make% and %Model% variables.
    2)…

    Read more »

  • Quick Tips: Updating ESXi Host (Online Method)

    Derek Bannard April 3, 2018     Comment Closed     Quick Tips, VMware

    Hello and welcome to Quick Tips. This quick tip is designed to walk a novice, step by step, through the process of updating an ESXi host. If you’re not a novice, this will be a refresher.
    Mostly, I wanted to write it down somewhere so I wouldn’t forget in my old age. Sorry folks, no pictures on this one. Maybe…

    Read more »

  • MDT Task Sequence: Inline Surface Pro Pen Pairing without Image Modifications

    Derek Bannard February 3, 2018     Comment Closed     MDT

    Surface Pro tablets are great, for the most part. One of the most useful addons you can get for it is the Surface Pen. It’s great, powerful and useful… only if you remember to pair it to the tablet before giving it to the end-user. I present to you the automated(ish) way to inject the pairing files into the OS…

    Read more »

  • Local Admin Users on Domain Workstations (GPO/AD Method)

    Derek Bannard January 4, 2018     Comment Closed     Group Policy

    This method consists of three parts, two AD security groups and one GPO.
    One security group will be used as a template, but more on that shortly. Important: Looking for guidance adding a new computer to an existing setup, refer to the section Security Group: Authorized Users below.   Requirements Automate as much of the process as possible, for handoff…

    Read more »

  • PowerShell: SFTP Script to Upload Files to an SFTP Server

    Derek Bannard January 3, 2018     Comment Closed     Powershell, SFTP

    This script uses the Posh-SSH module to complete the upload task.
    Currently this module does not support folders.   This script will connect to and upload files from a source directory to a SFTP server, then move those files to another directory and email you along the way, start and finish. Currently configured to use Private/Public key pairs but can…

    Read more »

  • 1
  • 2
  • 3
  • Next

Search

Categories

Recent Posts

  • Clear Windows Event-Logs
  • Quick Tips: Citrix Studio Application Folder Rename
  • PowerShell: Copy and Move Files Using Robocopy and CSV
  • Quick Tips: MDT Task Sequence – Hide From OS or WinPE
  • MDT 2013: Moving Computers Into Correct OU on AD Join

Archives

  • February 2019
  • October 2018
  • August 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • November 2016

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org