Category: Scripting

PowerShell – Get RoboCopy Exit Codes

If you use RoboCopy in your PowerShell script, you might want to know if everything went well. Besides the log file, you can check the Exit Code as well.

PowerShell – Get Folder Size

If you need the size of an folder in MB’s. You can use below script to obtain this information. The $FolderSize variable will return the folder size in the following format: 77,84 MB

PowerShell – How to run Exchange powershell commands from a regular PowerShell window

What if you want to execute Exchange commands/Cmdlets from a script? Or you just hate the ugly Exchange management shell (like me) and want to use the regular (blue) PowerShell window?

PowerShell – How to check for open port without telnet!

What if you want to check for open ports on a server, but you don’t have telnet installed on your management server? Yes! Use PowerShell! But how?

How turn on your Dell server using a script (with iDrac and Putty)

Because I have a lab environment at home, I turn off my server when I’m ready playing. To turn on my server again, I need to open my browser, go to the iDrac page, logon, go to the Power Management page and click on the right button…

PowerShell – How to create a .NET DataTable and save it to XML file

I use PowerShell a lot. Sometimes to automate something with a script but often just to get some data. Export my results to a csv (Export-CSV) for example not always gets the result you want. Create your own table and you are more in control export it to a XML file and your ready to […]

Custom answer file for New-RDVirtualDesktopCollection fails!

Hi there, Ever tried to create a Windows 8 VirtualDesktop collection (VDI) on Windows Server 2012 Remote Desktop Services? Yes? And did you try to add a custom answer file to it? With PowerShell? If you answered the questions above with yes you probably find out that it’s not gonna work out of the box and […]

Windows Server 2012 PowerShell Reference

Are you looking for some Windows Server 2012 PowerShell Cmdlets?

How to view currently locked out users with powershell

Unfortunately Windows Server 2008 can’t show you if a user is currently locked or not. But the advantage of that is you finally have to learn Powershell 🙂

Mail enable existing security group

GUI I was asked to give an existing security group permissions to a new mail enabled public folder in exchange 2010. After searching for the right group in the GUI of Exchange 2010 I noticed that couldn’t find the right group.

About Me

My name is Bart Scheltinga and I live in the Netherlands. I work as a Senior Citrix Administrator for Conclusion FIT.

MCSA Windows Server 2012
CCA-V: Managing Citrix XenDesktop 7 Solutions CCP-V: Deploying Citrix XenDesktop 7 Solutions


My Twitter Feed