Skip to content
laakie.nl
laakie.nl

Show Active Directory colored computerlist

Randy van de Laak | Posted on November 21, 2017 |

This is a way to display all computer objects in Active Directory of the type “Server”. If the server is reachable, then display the name in green, otherwise red.

Read moreShow Active Directory colored computerlist

Filed under: PowerShell

Backup Bitlocker key to Active Directory

Randy van de Laak | Posted on November 21, 2017 |

If for some reason the Bitlocker key of your hard drive is missing in Active Directory, then you can execute the following commands to still backup the Bitlocker key.

Read moreBackup Bitlocker key to Active Directory

Filed under: PowerShell

Mail overview of snapshots to owners

Randy van de Laak | Posted on September 26, 2017 |

When you allow users to create and delete snapshots for Virtual Machines, it can become very time consuming reminding them of cleaning up their own snapshots in case they forgot to do it themselves. This script can help you out here by sending an email reminder to them for you.You can create a scheduled task […]

Read moreMail overview of snapshots to owners

Filed under: PowerCLI

Using PowerShell to read large logfiles

Randy van de Laak | Posted on September 12, 2017 |

Sometimes logfiles can become very large and difficult to open.If you only need to see the end of the logfile, for instance the last 100 lines, then you can use PowerShell to show just these lines.In this example you can view the last 100 lines of the very large logfile called C:\Log\VeryLargeLogFile.log.

Read moreUsing PowerShell to read large logfiles

Filed under: PowerShell

Using Powershell to extract archive files

Randy van de Laak | Posted on September 12, 2017 |