Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

Powershell ACL Rights on Extraction of Creator Owner

Hello Guys.Any help would be appreciated.I've been assigned a task to extract the creator owner of shared folders on a window server 2003 platform.For days , i've been searching through the web...

View Article


embedded pictures in email

Hello, I created a "template" email, I saved it as a .html and I want to use it in the send-mailmessage but the pics are not getting with it.Can someone give advice how to solve this ? Thanks in...

View Article


Missing Azure PowerShell Features

I had already downloaded the Azure PowerShell modules a while back, and I noticed that the documentation listed parameters that were not available in my cmdlets.Read More 

View Article

#PSTip Using XPath in PowerShell, Part 5

XPath has one big disadvantage–it’s case sensitive. Unlike regular expressions, there is no way to “turn it off”. But there is a way around it. To make part of the query case insensitive we have to use...

View Article

PowerShell - Handy function to connect to Office365 services

I just started to play with a Microsoft Office 365 environment (Azure Active Directory, Lync Online and Exchange Online) and I thought I would make it through PowerShell obviously :-) But when you...

View Article


#PSTip Using XPath in PowerShell, Part 6

When we analyze XML documents with XPath we may need information about number of certain items. For example, we can have an XHTML document with several tables and we can easily check which tables...

View Article

PowerShell is King–Convert Windows Server Editions during OS Deployment...

Yesterday I posted a simple UI based PowerShell script that allows the local administrator of the server to change the Windows Edition. That is is a nice to have function, but what if you would like to...

View Article

Powershell file watch

I am very new to this, the script I have is beyond me.  I need this script to find a specific file that is older than 5 minutes and email me.  The script does email me with files that are older than 5...

View Article


Powershell exit code

I have a script that I'm trying to run in TeamCity, essentially I want to force an exit code if an error happens.Here's the script:$s ="kbullen-865";$db_name ="tempdb";$ExceptionMessage ="";##Add-Type...

View Article


hao to connect mssql

I don't konw hao to signed in mssql on powershell.Give me example script,please!

View Article

Export to custom object with variable columns to CSV

I'm wrting a script collecting the accesscontrol of applications, the items in accesscontrol can vary from one to many.(This data is originating from a xml file).The problem I'm facing is that one of...

View Article

Implement Easiest Solution to Restore Windows XP BKF Files In Windows 2007 Os!

Before sometimes, I was encountering Windows BKF file corruption problem because my all XP created (.bkf) file has been damaged and dissolved due to unexpected virus attack. After corrupt BKF file, I...

View Article

Image may be NSFW.
Clik here to view.

Export-Csv a collection of objects with variable properties set in each object

Hi, everyone!I'm new to PS, and I'm looking for an easy way to analyse Windows Security Log. I started to export SecLog records to CSV, parsing and splitting "Message" field into subfields. E.g., sec....

View Article


powershell not installing

Hi all,im trying to install wmf 4.0 (powershell 4.0) on my computer.I currently have version 2 running on windows 7 sp1 with .net 4.5.I am getting the error message "the update is not applicable to...

View Article

Powershell and MSSQL

Hello i need a little help with strange behavior my  powershell script performs.I have two MSSQL instances and there are several databases restored on each one.The script runs into a folder where my...

View Article


SQL Database Reports with PowerShell

 In the article I provided an introduction to using PowerShell and the SQL Server module to do perform some typical management tasks. I think this type of information is especially important for those...

View Article

PowerShell the SQL Server Way

Although Windows PowerShell has been available to IT professionals going on seven years, there are still many IT pros who are just now deciding to see what the fuss is all about. Depending on your job,...

View Article


Can't Use Remote Commands

   I am trying to practice using remote commands on one of my other computers in my house. I have two desktop windows 7 computers. I can't seem to get remote commands to work there is always some kind...

View Article

Opening Interactive PowerShell GUI script for other logged on users

I have a powershell MTA (GUI script using winForms), which works well, lets take the script name to be "ENDUserMTA.ps1" which does invoke certain commands and does something which really needs admin...

View Article

Posh-SSH: Open Source SSH PowerShell Module

Posh-SSH is a PowerShell 3.0 or newer module for automating tasks against system using the SSH protocol. The module supports only a subset of the capabilities that the different SSH RFCs  Read More

View Article
Browsing all 6937 articles
Browse latest View live