ScriptAnalyzer is a PowerShell tool that analyzes your code and make suggestions on how to improve your code. This is great a tool for engineers to use because they can check their code before uploading to a version control repository. It is a first step to make sure code is in compliance and you can …
Month: December 2015
Find Dell Service Tag and Warranty info
When you want to find out the Dell service tag and warranty information of a server usually people log into a server that has the Dell OpenManage installed, get the Service Tag information and then open a browser and type support.dell.com. After the person is on the page, he/she submits the Service Tag and the …
Using Pester to test NIC settings
Make sure to create a folder that is version control in your computer. Now use new-fixture cmdlet this cmdlet will create the .ps1 script and then it will create Tests.ps1 where all test instructions will be held The .ps1 file it has a regular function, on the other hand .tests.ps1 looks completely different lets take …
Error connecting to Hyper-V in a non-trusted domain
If you have Hyper-V host that are not part domain like in your DMZ or the computer client that needs to manage the hyper-v host is not part of the same domain; you may encounter this error. This is a very annoying error and if you follow the instructions it would tell you how to …
Continue reading Error connecting to Hyper-V in a non-trusted domain
Find mailboxes by last access time
If you are preparing to move from Exchange on premises to Office 365, it is good to know what mailboxes are in used what mailboxes have not been accessed over a period of time. This will help you to organize and prioritize what mailboxes would need to move first or even this would help you …
Find Available IPs using PowerShell
I still see engineers using ping to find available IP addresses and then changing the last octet to see if the next IP is available or not As you can see if somebody needs to find 10 free IPs it may take a quiet sometime to find if the IP address is available. Now let …
Uninstall Programs using Get-Package/Uninstall-Package
How many of you guys are familiar with this window when try to uninstall a program or see what programs the server or client has installed I got used to type appwiz.cpl because sometimes I needed to uninstall software or to check what version of the program is installed. Let me show you the new …
Continue reading Uninstall Programs using Get-Package/Uninstall-Package