Tags
2008R2 Access List ACL activate by phone active directory ActiveSync ACU Address list alarms Anonymous relay array backup cacls catch cd-key cisco Citrix CUSD DAG dismount iso dns Exchange Fortigate Fortinet function get-eventlog get-snapshot get-vm HPE 3PAR Linux Lync microsoft Permissions powercli Powershell Powershell agent PSA PuTTY registry script UCS Director vmware Windows 7 Windows Server Zenoss-
Recent Posts
Recent Comments
- Mark Cloney on PowerCLI: Getting vmhost uptime
- Pierre Wong on Powershell: Listing activated clients on KMS server
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Wasim on Resetting the Discretionary Access Control List (DACL) in a Windows Service security descriptor
Categories
- Ad
Author Archives: nerenther
Exchange: Content index state failed
If you ever had problems with corrupt databases in an Exchange 2010 DAG setup you might have encountered this error. Trying to activate the database on a server where it has this state will fail. However there is a quite … Continue reading
Posted in Exchange, Microsoft, Powershell
Tagged Content index state failed, DAG, Exchange, Powershell
Exchange: Activate Database Copy fails
After some exchange services failed onĀ one of the nodes in our Exchange 2010 DAG we got some problems with one database. The database was mounted on server2 where it has an activation preference of 2. Trying to manually activate the … Continue reading
Posted in Exchange, Microsoft
Tagged DAG, database action failed, Exchange, hr=0x80004005 ec=-1216, Unable to mount database
Powershell: Checking multiple dns records for multiple domains
I don’t know how useful this will be for others, but in our case we had a need to check a few public dns records on some of our domains. Doing so by using a web portal will be time … Continue reading
Posted in Microsoft, Powershell
Tagged dns, Powershell, Resolve-DnsName
Powershell function for enabling a user for Lync and configure settings
A little while ago I posted a script for enabling users for Lync and settings some settings for that user. That script has been used here ever since I posted it and it has worked like a charm. However there’s … Continue reading
Posted in Lync, Microsoft, Powershell
Tagged catch, Enable-LyncUser, error handling, function, Lync, microsoft, Powershell, throw
HP ACU cli quick guide
Guess what? It’s time for something different than powershell I finally got myself a server to play around with Hyper-V on. This has been sorely missed for a long time. I worked a lot with Hyper-V in my previous job, … Continue reading
SuperOffice and Citrix
I’m just gonna start by putting this out there: I have never been a fan of SuperOffice, and I probably never will be either. Now that thats out there, heres the situation: We have one citrix farm, and three different … Continue reading
Posted in SuperOffice
Tagged Citrix, different databases, inipath, SuperOffice
Powershell function for gathering users in groups
A friend of mine asked me a couple of days ago if I knew a way to gather users who are members of given groups. I thought to myself “Hmm, challenge accepted!” and started writing a small powershell script. After … Continue reading
Posted in Active Directory, Microsoft, Powershell
Tagged active directory, function, Get-MembersInADGroups, Powershell
Motivational Powershell function
If you are ever in need of some motivation, here is a very simple Powershell function for that: function Motivate-Me { $motivator = Get-Random -Minimum 1 -Maximum 5 if ($motivator -eq 1) {Write-Host “You are a Powershell God!”} if ($motivator … Continue reading
Posted in Microsoft, Powershell
Tagged function, Motivate-Me, Powershell
Powershell function for showing some system information
This is a function I created just because I wanted to toy around with Powershell and get-wmiobject. Also, this is my first function where I made it possible to use a switch parameter. What the function does is gather some … Continue reading
Posted in Microsoft, Powershell
Tagged function, parameter, Powershell, Show-Debug, switch, system information, wmi
Adding a pause to you Powershell scripts
If you have taken a look at some of the scripts I have posted earlier you might have noticed a rather strange line, usually at the end of the script: cmd /c pause | out-null This was actually just to … Continue reading
Posted in Microsoft, Powershell
Tagged pause, Powershell