Parallel Universe - MS Tech Blog

The ramblings of a PFE

Browse by Tags

Related Posts
  • Blog Post: 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...
  • Blog Post: Simple Print Queue Monitor - Powershell

    its taking me a long time to get back to this... been super busy in work which is always a good thing! here is some sample code which will allow you to create a very simple print queue monitor and log the details out to a csv file for further manipulation... <# .SYNOPSIS This is a powershell...
  • Blog Post: Powershell Script for Checking which files have not been accessed in the last 30 days and then email the user about it!

    I am only beginning my journey in powershell so and i was presented with a challenge the other day to find files and report on the that have not been accessed within a certain number of days... so i decided what better way to learn then on the job! This script will check the users home directory attribute...
  • Blog Post: Powershell - Export your print configuration from registry

    I was asked to produce this script for follow up checking of driver versions later on or possible settings which can cause problems. The idea would be that a master file is updated on a website and then we can reference this in the script to pull it down and process for the latest errors against...
  • Blog Post: powershell - check your free disk space and warn below a threshold..

    here is the basis of a script you can use to generate an alert using send-mailmessage or via ops manager or something! when disk space is below a certain threshold... enjoy! $freespacethreshold = 17 # Setting path to servers.txt file for input later on... $inputfilepath = $env:USERPROFILE...
  • Blog Post: Duplicate File Finder With Powershell!

    here is a little script I was playing with to find duplicate files on your disk here is the code #Define the results path $outputdirectory = $env:userprofile + "\Desktop" $outputfile = "duplicatefileresults.txt" $output = $outputdirectory + "\" + $outputfile $testoutput = test-path...
  • Blog Post: powershell simple bandwidth monitor

    very simple bandwidth monitor allows you to select your interface and will take the average bandwidth over 60 seconds (you can configure!) here it is !.... $interfaces = Get-WmiObject -class Win32_PerfFormattedData_Tcpip_NetworkInterface |select name $totalnoint = $interfaces.count ...
  • Blog Post: Powershell Script For a Lync Client to probe DNS and test that it can contact the access edge server

    Here is a quick script you can give to lync clients to help them determine the first basics steps in troubleshooting a signon failure... This script will prompt for the users signin address, it will take it discover the sip domain and the srv records then it will try and ping and connect to the...
  • Blog Post: Powershell - Automated Lync Deployment V1

    If you need to deploy an environment this may help... the script should deploy the windows pre-reqs, the lync pre-reqs, the local management store, the role specifc stuff , request the certificate and assign it and start the services and install network monitor you need to have the CMS built...
  • Blog Post: Evenly Distribute your VM's across your standalone Windows 8 Hyper-V Hosts using powershell

    Interestingly enough the argument with people still happens about not wanting management tools for their system. So I created this script as a basis which will load balance out VM's across multiple hosts using live migration here is the code... I plan to "tweak" it a bit more to include some...
  • Blog Post: IPv6 For the IT Pro

    IPv6 can be quite confusing so my goal with this doc is a short intro to IPv6 but try and keep it relevant to what you already know in IPv4. Feedback is always welcome! :)
  • Blog Post: Powershell Script - Deploying Exported VM's for training labs

    In my previous job i had to deploy a lot of labs, and since i worked full time in there i didnt really both with beginning to automate the process, well i dont have the time anymore so i need to start :) this is part 1 of the script which will deploy the lab which i store on a central share..... ...
  • Blog Post: Powershell Script to Check / Stop & Start Lync Services

    this script will give you a little menu system to check, stop & start lync services…. Hopefully it will help someone… and i might improve it ****************************************************************************************************** set-executionpolicy unrestricted...
  • Blog Post: Private Cloud - A Journey Part 1 (from a PFE point of view)

    A few weeks back I was in Las Vegas! Attending the MMS 2013 Summit. After attending the keynote and given I have seen most of the demo's before that were displayed during the session, I am still impressed by what you can do natively in the Microsoft technology stack. On a more serious note, Microsoft...
  • Blog Post: 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 enabled for a host...
  • Blog Post: Troubleshooting KMS

    Troubleshooting KMS I had an interesting situation today around troubleshooting KMS and trying to figure out what was happening. I was told the server was not working at all and could not be probed from the likes the VAMT (volume activation tool) from Microsoft Corporation. Here is the steps I took...
  • Blog Post: Windows 2008 File Servers using a large amount of memory

    Recently i have come across alot of file servers which have a large amount of in use and because of this are slow. When you investigate the task manager you see that there is little or no services taking up RAM but yet you are hitting the memory limit. The next step for me was to use a System Internals...