SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:


Recently Changed Pages:

View All Pages


View All Tags







WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

PageDateDiscussionTags
2019/11/18 13:52 1 Comment

View All Comments

start

SHIFT - Sjoerd Hooft's InFormation Technology

This WIKI is part of SHIFT. If you want to post comments, Sign up for Q. Q is the best way to practice your IT exams. A distraction free exam trainer with the option to post comments and even add questions yourself for free access. Give it a try and sign up for two weeks of free access!


TFS Maintenance Build

Note that this is done on TFS Server 2018

When using TFS for deploying an isolated test environment you might have the need to maintain that environment or get some monitoring working. We have the specific case that the environment is cloned from another environment so that means that names and ip addresses are also the same. So this article shows you how to create the infrastructure and the build definition to monitor such environment.

→ Read more...

2020/02/14 14:15

Standard Header for Scripts

# Author: Sjoerd Hooft / https://www.linkedin.com/in/sjoerdhooft/
 
### Versioning and Functionality ##################################################################
### Information on Script or Application ###
# Name
# url
# Admin portal 
# etc
### Script & Application key users ###
# Script maintained by Sjoerd Hooft
# Key users: Enduser 1 & Enduser 2
### Versioning ###
### 2019 06 14 - Sjoerd Hooft - First Version ###
# Functionality 1
# Functionality 2
# etc 
###################################################################################################
 
### Requirements ##################################################################################
### Powershell
# Command line: -Executionpolicy Bypass -nologo -noninteractive -command "& {location + scriptname; can be on network}"
# Powershell: set-executionpolicy bypass
### Account to run script with (sa_application):
# IE Enhanced Security Configuration -> Off
# Add sharepoint online to trusted sites: company.sharepoint.com
# Visit site company.sharepoint.com
### Scheduled Tasks
# Run whether user is logged on or not
# Run with highest privileges
# Configure for Windows Server 2016 (highest)
# No Power Conditions
# Run task as soon as possible after a scheduled start is missed
### Printing
# The print option requires a default printer installed on the system where the script runs
###################################################################################################
 
### Bugs ##########################################################################################
### No script bugs known yet 
# 
###################################################################################################
 
### How-To ########################################################################################
# 
### When changing and testing ###
# Change the mailto var to a testvalue
###################################################################################################
 
### Script Overview ###############################################################################
### Fase 1 ########################################################################################
# Set script variables
# Start Logging
# Check for required modules
# Reporting Variables 
# Application Variables 
# Default functions 
# Application functions
### Fase 2 ########################################################################################
# Run script
### Fase 3 ########################################################################################
# Create output 
# Send email report
### Fase 4 ########################################################################################
# Cleanup temporary files
# Stop Logging 
###################################################################################################
 
########################################## Start Fase 1 ###########################################
 
### Script Variables ###
2020/02/14 14:15

HowTo Rejoin a Server to an AD Domain

  1. Reset domain computer object (this resets the object but keeps the GUID and SID of the object)
  2. Disjoin and Join the domain from the computer itself, needs admin password
2020/02/14 14:15

Discussion

Enter your comment. Wiki syntax is allowed:
J C G Q B
 
start.txt · Last modified: 2020/01/17 14:00 by sjoerd