Monday, November 3, 2014

Pizza as a Service

Hi guys,

today I want to share a cool picture, that simplifies the explanation of the following Services:

- Infrastructure as a Service (IaaS)
- Platform as a Service (PaaS)
- Software as a Service (SaaS)




Regards,
Tim 



source: http://blogs.technet.com/b/daven/archive/2014/08/05/pizza-as-a-service.aspx

Monday, April 7, 2014

Add MS updates from a patched system to a Windows Image using DISM

Hi guys,

today I will show you how to integrate updates into your WIM file using a patched system. For this you need a "clean" patched system, i.e. a virtual machine. Follow the attached steps to get your image up to date.

Install all needed Updates on a clean system, so you can use this machine to get the needed updates for your image.

On your admin workstation create a "mount" folder in C:\. Then copy your image to "C:\Images\Win7\install.wim", after this run the attached UpdateWIM.bat to integrate the updates.

UpdateWIM.bat

dism /mount-wim /wimfile:”C:\Images\Win7\install.wim” /mountdir:C:\mount /index:1
Start /w for /R \\PATCHEDComputer\C$\Windows\SoftwareDistribution\Download\ %f in (*.cab) do dism /image:C:\mount /add-package /packagepath:”%U”
dism /unmount-wim /mountdir:C:\mount /commit
pause


Now your image is up to date and you can upload it to your server. You can also directly mount your image that is located on the server, only change the path ”C:\Images\Win7\install.wim”

Friday, March 21, 2014

Provisioning computers in Active Directory using Powershell

This post will show you how to be able to provisioning/pre-staging computers from a list by using a Powershell script. You need to specify the computer name and the MAC adress in the csv file and after that you can execute the script.

You have to modify the orange text in the script to your AD dn. If you remove this part computers will be created in the "Computers" OU.


Powershell Script

import-module Activedirectory

import-csv "C:\PSScripts\Computer.csv" | foreach-object{

    $name = $_.Name
    $MAC = $_.Mac 
  
    $CheckExists = get-adobject -Filter {(ObjectClass -eq "computer") -and (Name -eq $name)}  #it´s $NULL if the computer doesn´t exist
  
      
    if ($CheckExists -eq $NULL){
        [guid]$nbGUID = "00000000-0000-0000-0000-$MAC"  # transform MAC to netbootGUID
        new-adcomputer -Name $name -SamAccountName $name -Path "OU=Systems,DC=directoryadmin,DC=blogspot,DC=com" -OtherAttributes @{'netbootGUID'=$nbGUID}       
        write-host $name " - " $nbGUID
      }
      else {
        write-host "$name already in use."
        }
      
}


Computer.csv located in C:\PSScripts\

Name,Mac
computer1,A088B44642A8
computer2,A088A44642B8



Monday, February 24, 2014

Earning Bitcoins for free everyday

On top of the free daily coins you receive (see below), we've credited a one-time0.00000250 to your Bitcoin balance, 0.00007672 to your Litecoin balance, 0.00604839 to your FeatherCoin balance, 97.85271991 to your FedoraCoin balance and 5.68181818 to your InfiniteCoin balancesimply for signing up. It's our way of saying "Thank you".

Every day (including weekends) the following coins will automatically be added to
your (and your friends) balances:

Bitcoin: 0.00000001 BTC * Bonuses
Litecoin: 0.00000031 LTC * Bonuses
FeatherCoin: 0.00002419 FTC * Bonuses

Follow the Link to earn this.

Regards,
Tim