Category: Powershell

Azure, Powershell

Missing required metadata properties error when running New-OnPremiseHybridWorker

Hey folks.  Just a quick post around an into an issue today whilst having a play with Azure Automation.  One of the capabilities of Azure Automation is the ability to configure the Hybrid Runbook Worker feature. This allows you to configure Azure Automation with your on premise infrastructure which is pretty cool. One of the …

Powershell, Scripting

Learn PowerShell in a month of Lunches–Chapter 3 answers

1 Can you find any cmdlets capable of converting other cmdlets’ output into HTML? ConvertTo-Html 2 Are there any cmdlets that can redirect output into a file, or to a printer? Out-File  & Out-Printer 3 How many cmdlets are available for working with processes? Get-Process                       Cmdlet    Gets the processes that are running on the local …

Powershell, Scripting

Get-Hotfix–Retrieve hotfix information using Powershell

Recently I wanted to verify that I had a certain hotfix installed on my server. I thought i could see if there was a nice and easy way in Powershell to do this and there was. The cmdlet get-hotfix will retrieve the information you need. PS C:\Users\Administrator> Get-HotFix Source        Description      HotFixID      InstalledBy          InstalledOn ——        ———–      …

Powershell

Test user ‘extest_b648a1a700f64’ isn’t accessible when running test-owaconnectivity

I was recently playing about in Exchange 2010 in preparation for my exam in a few days time and I noticed i was getting an error when i ran the test-owaconnectivity commandlet. I error message i was recieving was: WARNING: Test user ‘extest_b648a1a700f64’ isn’t accessible, so this cmdlet won’t be able to test Client Access …

Powershell

Managing Exchange Administrators with Powershell

To view Exchange Administrators with powershell we can use the get-exchangeadministrator commandlet. This will tell me the current exchange administrator groups in the domain. Example below is: [PS] C:\Windows\system32>get-exchangeadministrator | format-list Identity : EXCHANGELAB.LOCAL/Users/Administrator Scope    : Organization wide Role     : OrgAdmin Identity : EXCHANGELAB.LOCAL/Microsoft Exchange Security Groups/Exchange Organi            zation Administrators Scope    : Organization wide …