Backup NSX Manager

Was playing around with NSX today and found that you can enable backup of the NSX manager from within the administration page. While using a backup solution like Avamar or VMware vSphere Data Protection (VDP) is preferred for backing up your VMs this is a quick and easy way to backup your NSX manager config that enables you to quickly restore in the case of losing the NSX manager (or screwing it up by changing something!!)

Continue reading “Backup NSX Manager”

How to install .NET Framework 3.5 on Windows Server 2012

Quick one on how to install .NET Framework 3.5 on Windows Server 2012. Its required for things liks PowerCli on 2012. It cant be installed natively like other roles/features. It needs the install source files. So the quickest way is to mount the 2012 iso to the VM and run the following from an elevated command prompt (assuming d:\ is the mounted iso)

Continue reading “How to install .NET Framework 3.5 on Windows Server 2012”

Powershell Script – Create AD OUs/Groups/Users

When planning a build of any kind of environment it is good practice to pre plan all user/service/application accounts that you will need. Now you could manually create each user but you’ve probably got better things to do (Beer anyone?!) so a script to do it all helps right?!

Continue reading “Powershell Script – Create AD OUs/Groups/Users”

Uh Oh..Expired vCAC Certs…..

Hit an issue in the lab this week with vCAC/IaaS where the self signed certs had expired. Self signed certs last 12 months..note to self…setup CA! This was compounded by the expiry of the internal Solution User’s certificate. more info on that here 

Anyways here is the error and how i got things working again…

Continue reading “Uh Oh..Expired vCAC Certs…..”

Cool tool Friday! – Atom

Wow..cool tool Friday seems to come around very quick! Doesn’t even seem like I’ve had time to find some new tools to talk about! (Note to Self: Must Try Harder!!)

One tool that i have been using lately is Atom. Atom is a text editor created by GitHub. Its very customizable and easy to use and is very easy on the eyes if like me you stare at the same code for hours in the blind hope it will miraculously begin to work! 🙂

Anyway if you are so inclined check it out here

vCD vApp Report

Here is a quick one liner for reporting on vCD vApps. This is useful for quickly auditing deployed vApps in vCD. I used the Search-Cloud cmdlet as its lighter and faster than Get-CIvApp. I’m sorting by created date and outputting Created date, vApp Name, Power state, and vApp Owner and outputting the results to a csv file

 

Search-Cloud -QueryType AdminVApp | Sort-Object -Property CreationDate | select CreationDate,Name,Status,OwnerName | Out-File C:\vCDAudit.csv