Where to post compiled VB.Net Cmdlets?
I have converted a couple of my scripts from the repository here to dll (Cmdlet) format and would like to know where to post such items. Do you have anything here, for example.
View ArticleNice to Know–Getting Make and Model using CMD or PowerShell
Trust me, this is not a new thing, rather I get the question every time on a session (before or after) or when working on a customer site, how can I extract the Make and Model from the machine? So, as...
View ArticleOutputting "foreach" loop as a table to text file
Hello all,New to powershell here. I have searched high and low on the internet reading about hash tables and format-table and so on, and have finally decided to come here for guidance. What I have is a...
View ArticlePowershell to Get Exchange mailbox Database and Public Backup Status Report
Below power shell help you to get backup status of all the Exchange Database in Exchange 2007 ServersGet-MailboxDatabase ` | where {$_.Recovery -eq $False } ` | Select-Object -Property Server,...
View ArticleUsing PowerShell Switch vs. Boolean Parameters in SMA Runbooks
Hey Readers. In this article, I wanted to take the opportunity to talk about a scenario that may be “edge case” but a case just the same within the constructs of leveraging switch parameters in...
View ArticleMy outline for accelerated PowerShell training
When I teach PowerShell, either at a private client or in a public class, I tend to use my own outlines. I’m comfortable with them, and they work really well. They formed the basis for the Microsoft...
View ArticleHelp exporting script results to csv
I'm trying to find McAfee versions from a list of servers and found this script. How can i export the result to .CSV? ThanksForeach ($c in Get-Content D:\servers.txt ) {trap { continue; } write-Host...
View ArticleManaging Your HDInsight Cluster using PowerShell – Upda
The HDInsight cmdlets no longer exist as these have now been integrated into the latest release of the Windows Azure Powershell Tools. This integration means:Read More
View ArticleNice to Know–Getting Make and Model using CMD or PowerShell
Trust me, this is not a new thing, rather I get the question every time on a session (before or after) or when working on a customer site, how can I extract the Make and Model from the machine? So, as...
View ArticleUse PowerShell to Create a New Virtual Machine in Windows Azure Running...
In this Ask the Admin, I’ll show you how to connect to your Azure subscription using PowerShell and create a new virtual machine (VM) using the New-AzureQuickVM command.Read More
View ArticleHow to enumerate local admin group using ADSI
As part of Continuous Monitoring, we have started an annual review of server access. We have three domains: two internal and a DMZ. I can get a list of servers managed by a particular Manager.My...
View Articleexport the result of the script.
How can i export the result to .CSV or HTML.thanks in advance $comps = Get-content C:\Serverlist.txt foreach ($comp in $comps) { invoke-command -computer $comp { get-process BServer | stop-process...
View ArticleUpdate attribute from csv file
Hi, I have a .csv file that looks like the belowREFERENCENUMBERFIRSTNAMELASTNAMEFULL NAMESB363JimmyWhiteJimmy WhiteSB131SteveDavisSteve DavisSB90AlexHigginsAlex HigginsWhat I would like to acheive is...
View ArticlePowerShell Script to test Exchange EWS
EWS Editor is a great tool to troubleshoot EWS and Auto discovery related issues.Read More
View ArticleSet Up Operators and Alerts in PowerShell
One important task that is often neglected by DBAs when setting up SQL Server, is defining operators and alerts. SQL Server will tell you when critical errors occur if you've configured the important...
View ArticleUsing PowerShell to manage WDS in Windows Server 2012 R2
In Windows Server 2012 R2 Microsoft finally added in PowerShell support for Windows Deployment Services.Read More
View Articlemoving old email
Hi, I have an issue that I need help.I have email mailbox with thousand of messages in "INBOX" folder, I need to reduce this number.I need a script that move all email to sub-folder and will leave only...
View Articlegwmi win32_product error ONLY in win xp
Hi All,I am creating a script to collect some system information for multiple servers. As a part of it, I am collecting softwares installed in group of machines. I am taking the list of softwares...
View ArticleQAD tools vs default PS cmdlets
Hi,What are the major differences between the two and which technology would should I use? Thanks!
View ArticleView installed updates.
Hi,In powershell is there any cmdlet or any other way to list all the installed updates on a windows 7 PC. I have tried Get-Hotfix but it not giving the total list of updates installed on a PC.
View Article