Getting all operations for all Providers so create custom roles in RBAC for Azure

Today I was asked to help a customer find ALL the roles available for inclusion into a RBAC role’s they possibly want to create. There is no definitive list I could find but it definitely is there in Azure somewhere So I wrote a little script that helps exports all the Providers and Operations you…

0

Windows Azure Pack – Scom Management Pack – 404 Errors After Deployment in SCOM Management Console

  Today I needed to deploy the SCOM Management Pack for Windows Azure Pack into my lab environment First I download the bits from here –> http://www.microsoft.com/en-us/download/details.aspx?id=38414 I unpacked it and imported it… I was thinking fantastic! this is really awesome and such an easy install… Here is where the problem began… so after 5…

5

Lync Automated IM and Audio Call For Testing

REEDIT: Original Credit to http://blogs.technet.com/b/nexthop/archive/2011/05/05/sendim.aspx nexthop guys… I add the audio part which is not that hard 😉  Today I want to show you a script that will automate the testing of IM and Audio Calls. Think if you have critical systems that you need to know that the handsets re-registered properly after a system reboot…

0

Troubleshooting Windows Azure – Not Able To Connect to Remote Powershell to VM

  I was working on an issue of trying to connect to powershell remote on an Azure VM. I get the following error “Connecting the remote Server XXXX failed with the following….” There is some things you need to have in place first before being able to connect so I hope this little guide provides…

7

Deploying VM in Azure with Powershell Menu Script!

I am currently sitting on an azure course and I don't like using console I have to be honest. So I created this script to be able to deploy a VM in Azure. Basically you need to set 2 variables which are the workdir and the azuresettings workdir is just a temp working directory and…

1

Playing with Storage Spaces in a VM and want to Emulate Storage Tiers?

WARNING THIS IS NEVER TO BE USED IN PRODUCTION AND CARRIES NO SUPPORT FROM MICROSOFT WHAT SO EVER! With the upcoming release of Server 2012 R2 I am sure you are familiar of the new Storage Tiers that will become available! However if you are not so lucky you will not be able to see…

0

Windows Server 2012 – Get Binding Order For NICS in Powershell

I had a requirement the other day to retrieve the binding order for nics across several hosts in Windows Server 2012 but none of the scripts I found online worked! Here is the code I came up with and ran against 16 hosts .   Only real pre-req is the WINRM / Remote Powershell is…

2

Stay Current! :Detect Hyper-V 2012 Hotfixes if they are installed or not

After reading Cristians excellent blog here –> http://blogs.technet.com/b/cedward/archive/2013/05/24/validating-hyper-v-2012-and-failover-clustering-2012-hotfixes-and-updates-with-powershell.aspx I decided to try and write an addition on to his original script where it would parse the html table directory from the wiki page and just take the current patches!   so here is my attempt 🙂   <#    .SYNOPSIS Runs a Check on a…

0

Powershell – Lync Change Services to Automatic / Manual / Stop and Start before patching

This is acommon problem I have come across in an enterprise pool, when you drain andpatch and reboot one of the front end nodes the services will start again andusers will re-home to the server, but you may not be finish working with theserver and this leads to additional disruption for your end users. I…

1

Powershell – Lync Get All Users Last Registration Time From Front End

this takes doug’s concept (http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx)  and just runs it in powershell query and outputs the results to a text file to allow you to search its simple but effective 🙂   param ([parameter(mandatory=$true)] [string]$lyncsrvfqdn) $outputfile = “LyncUserLastLogon.txt”$outputdir = $env:Userprofile + “\Desktop”$output = $outputdir + “\” + $outputfile $SqlServer = $lyncsrvfqdn + “\RTCLOCAL”$SqlCatalog = “RTCDYN”$SqlQuery =…

4