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

PSWA and Exchange

Hi!I have just installed Powershell Web Access on a separate Windows 2012R2 server and would like to connect further in to my Exchange 2013 servers to run Exchange commands, like get-mailbox. Any...

View Article


Powershell job step should throw an error is not succesfull

Hi,I have the below code to export some tables into text files.  It is part of an sql job.  The next step (dropping those tables) should not run, unless the export was successful.This is not a case...

View Article


Opening IE tabs with powershell

I am a beginner in powershell and new to this forum. I am working on a powershell to script to open IE window with multiple tabs. Here is what the requirement is,I am keeping the request number (PPM...

View Article

Uninstall Software

Many years ago I used to use a kick-a$$ tool called Wise Script Editor.  It was probably the best scriting tool I've ever worked with.  Using this I wrote a script that would Prompt the user to enter a...

View Article

Introducing RemoteApp PowerShell Cmdlets and SDK

My name is Sandeep Patnaik, and I work in the Remote Desktop team. Many of you reached out to us and asked for a way to manage Azure RemoteApp collections programmatically. I am excited to announce the...

View Article


Quick Start Guide for the Pure Storage PowerShell Toolkit

The interest in the PowerShell Toolkit has grown over the last several months and I wanted to take a moment to provide some guidance on how to get started whether you are using Windows 7, Windows 8,...

View Article

Create a Workflow for vSphere Tags

During a recent PoC at one of my customers, I was asked how they could assign some important vSphere Tags to their VMs during vRealize Automation’s provisioning process. While vRealize Orchestrator...

View Article

Interacting with TCP/IP Through PowerShell (Part 1)

This article series discusses ways in which you can query and configure TCP/IP by using Windows PowerShell.Read More

View Article


PowerShell Cmdlets for Azure RemoteApp

"PowerShell everywhere" seems to be the mantra we hear most regularly coming from the shores of Redmond. Whenever a new product is announced, you can bet it won't be long before the company devises a...

View Article


PowerShell variable properties: Description, Visibility, Options, Attributes

The properties of the PSVariable object allow you to store a Description in your variable. In addition, you can configure the Visibility, Options, and Attributes for variables.Read More

View Article

PowerCLI and PowerShell Workflows

In PowerShell v3 the Workflow feature was introduced. But until now there haven’t been too many examples available on how to use PowerCLI in PowerShell Workflows. Today I was triggered by a thread from...

View Article

HOW TO HANDLE WINDOW?

HAY PEOPLE,I AM DEVELOPING WINDOWS FOR MY APPLICATIONS.I AM USING WINDOWS POWER SHELL, NET FRAME WORK, AND WINDOWS PRESENTATION FOUNDATION TO DO THIS.AND I AM USING SYSTEM.WINDOWS.WINDOW CLASS FOR...

View Article

Export File pairings with same name in same folder based on size

I have a folder that contains file pairs with the same name but different extensions.  Each file pair resides in the same folder, but there are sub-folders that contain additional file pairs I want to...

View Article


output from $servers=Get-VM -Location (Get-vApp "$vapp") | Select-object Name...

Hello, i'm new to powershellcan you help me:i have 2 server in a vapp$servers=Get-VM -Location (Get-vApp "vppservers") | Select-object Name |  Format-Tableoutput of $servers:name-------server1server2 i...

View Article

HELP!! New to Powershell and learning.

I have seen some great responses to questions on this forum and people go into great detail when helping others.  With that being said, please bear with me on this.  :)I am working on a project at work...

View Article


Connecting to SharePoint Online Using the SharePoint CSOM API with Windows...

As a developer working with earlier versions of SharePoint, specifically SharePoint 2007 and earlier, your options for working with SharePoint from off-server client applications was pretty limited....

View Article

Getting Started with PowerShell DSC

Whenever I explain to people the common failure points for the deployment of an application I’ll often draw a triangle. One point is for application code, another for application configuration and the...

View Article


How to Disable Inactive User Accounts Using PowerShell

Inactive Active Directory (AD) user accounts can pose a security risk to organizations, in situations such as when former employees still have active accounts months after leaving the company because...

View Article

Get-Excuse The BOFH PowerShell module

Get-Excuse retrieves an excuse.This function returns an excuse to be used in a system administration or helpdesk role, based on the BOFH series. Read More

View Article

Coffee Break - Windows PowerShell Remoting

Taking a closer look at ways to run PowerShell on remote machines on your network.Read More

View Article
Browsing all 6937 articles
Browse latest View live