powershell with excel
Hi, i want import from sql server tables to Excel spread sheets. For Example. Sql server Tables:1.emp2. orders. The above two tables need single excel sheet but different worksheets(sheet1,sheet2).
View Articlepowershell with excel
Hi, i generate two ouputs using powershell. i need to save the single excel sheet but different spread sheets. (sheet1,sheet2). How to export two sheets . any one help me.
View ArticlePowerShell Working with Windows Azure VMs
This blog describe the essentials to get you started with building Windows Azure Virtual Machines. This is slightly different from the previous blogs on Windows Azure SQL Database Servers. As a...
View ArticleParsing Event Logs with PowerShell
Over the past few months we have been encountering random user lockouts in Active Directory while performing an extensive server farm overhaul. As one of the primary sources for help in this small...
View ArticlePDT user creator in, hold it… PowerShell!
Well, I’ve read about it. I’ve tried some. I’ve never written one myself. But it finally happened! Using the PDT (PowerShell Deployment Toolkit) I’ve come to realise that creating the users and groups...
View ArticlePowershell script for report on logs within a specific time window?
Howdy (again),I am working on a process to automate a tedious function that currently involves:1. Taking log files from a specific directory on a server and that were modified or created within a 6...
View ArticlePowerShell – Uptime of Multiple Machines – Example for Custom Formatting and...
This post is to help you out in finding UpTime of one or more computers also you can pass file as its input parameter . Most of the time, the Powershell console might not fit all the required output...
View ArticleEasily Managing Azure VMs with Azure PowerShell Cmdlets
If you are working with Azure, you need to check out the Azure PowerShell Cmdlets. powerful + simple = AWESOME !Read More
View ArticleMake Graph Reports with PowerShell for Exchange 2010 and ActiveSync
This guide will help you create Graph Reports with PowerShell Scripts to receive better information on your server.Read More
View ArticleExporting Mailbox Permissions
Hi all,In our Exchange 2007 environment, I have this Powershell script which outputs mailboxes, which users have access to them and the type of access, such as Full Access, Delete Items etc. into a...
View ArticlePut cmd line exe into ps1 file and schedule task?
Hey Folks,Thank you all for the help, this forum is fantastic! I have a command line that does something with logs for a specific application. I want to take that command line and "store/wrap" it in...
View ArticleStatus code to verify command action
Hei,Is there a way to determine if a command has "failed" or did what it supposed to do?eg: $status = Copy-Item [SNIP]if ($status = 0) { Write-Host "Hurray" } else { Write-Host "Bummer" } Thanks,Peter
View ArticleSoftware Installation with Powershell???
Hi all, Currently within my org., we use SCCM and VBscripts to install software packages. I am in the process of developping my own skills for various MS exams, but would like to take this (as in some...
View Articlewindows scheduler issue with powerhsell with citrix xenapp server SDK
Hi,I have a script which collects data(health check) of Citrix farm and mail report in attachment to recepients. It runs fine when executed manually but when i try it with windows scheduler i get mail...
View Articlepowershell invoke-command
Gents, i have a small invoke-command issue:Invoke-Command-ComputerName $computername-ScriptBlock {Get-Content-Path c:\test.log|Select-String'Hello'|Select-Object-last1 } if i run this command on the...
View ArticleStandards Based Identity and Role Management using PowerShell
A year ago I published an article and PowerShell module to simplify managing Standards-Based devices (specifically CIM and WS-Man). The use cases focused around setting the boot order, changing power...
View ArticleHow to unlock objects in ConfigMgr 2012 with Powershell
Crap! Do you know this message? Most probably your console just crashed a minute ago while you were editing this application and you’re trying to open up this application again. Well, too bad, please...
View ArticleAnnouncing PSReadLine – A bash-inspired readline implementation for PowerShell
Jason Shirk is back! He just announced the release of his new PowerShell project PSReadLine. In PowerShell 3.0, a hook was added to replace the command line editing experience in the console and Jason...
View ArticleSharePoint Start Workflow on All Items of a List via PowerShell
To start a List Workflow in SharePoint on All Items of a list is a pain through GUI but it's a piece of cake in PowerShell. Note that the Workflow will not start instantly (as opposed to triggering...
View ArticlePowershell regex
Hi all, this is a questions for all you regex ppl. and yes i know it is very easy ( not) i have this string :Handle gps message: time: null lat: 51.800250000000005 lon: 4.63995 speed: 0.0 course: 323.0...
View Article