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

Convert PS Scripts to Exe

Hello,I have a couple of PS scripts (~25 scripts). These scripts include functions that make different jobs. These scripts can call functions of others' scripts. There is a Main.ps1 script that starts...

View Article


Save and ge back a PsSession (to MS Exchange)

Hello,I'am using a webservice (in PHP) which connect to a windows server and execute a powershell script to connect to Microsoft Exchange (and interract with it). But each time an operator is using the...

View Article


a small Hispanic market that sells authentic "street style" tacos

1954, Kansas due to the color of her skin. believing that Chuck was the right winemaker to move Hop Kiln toward the future of growing its burgeoning estate model. In 2007,S.The Croatian-born New Yorker...

View Article

agree or disagree with

and when you arrive, relaxed atmosphere, I am grateful to be a part of this community and to contribute to its growth and prosperity. Martini Winery pioneered many vineyard management techniques....

View Article

while installing PS V2 on Win2k8 SP2 getting error - The update does not...

I have local VM with Win2k8 EE SP2 64 bit. It has Windows Power Shell version 1.0. I want to upgrade this to version 2.0 I have tried with so many msu but without any luck. Always it gives error saying...

View Article


Enable Remote Desktop

Hi,Just starting to take a look at Server 2012 and I'm trying my best to use powershell as much as possible...I simply want to enable remote desktop so I can RDP to the server.Get-Command *Remote*...

View Article

List AD Security group members and exclude specific entries

Hey guys,I want to list all the members of a security group, lets say 'Group'. I then want to remove specific servers (in this case, our SCOM Management servers) from the list that gets returned (which...

View Article

Query for expired certs to CA shows datetime as +6 hours off for...

I am having a problem obtaining the list of expired certs from the previous month. When I query my CA the returned value for NotBefore and NotAfter is +6 hours from the actual time as displayed in the...

View Article


Find over 1000 vm servers in 40 vCenters project

I got assigned a task to find over 1000 vm servers vCenter. I have about 40 vCenters to search for each vm. Anyone have any suggestions on who's the best way to go about it? 1. I have a .csv file with...

View Article


Getting and Setting the PowerShell Execution Policy on a Local Computer

Q: How can I get the current PowerShell execution policy setting on my Windows machine? How can I modify this setting? Is there an easy way I can temporarily bypass the execution policy in a current...

View Article

PowerShell for Exchange Administrators

If you manage an Exchange or Office 365 environment today, then a good understanding of PowerShell is essential if you plan to manage the infrastructure efficiently and understand complex issues...

View Article

Code Markup Tool Documentation

Is there any documentation on the code markup tool?  I've searched and not found any.I have found out that if I want to have a double line break, I need to input at least one space on the blank...

View Article

Piping where

In further pursuit of delegating Mobile Device Management in our Exchange Online tenant, I am trying to create custom roles to add to a role group.  Here is what I am trying to do.$RolesforMDM...

View Article


PowerShell Script to Send Online and Off Line Computer Names to Ouput Files

This powershell script will send the logged on users of each machine to an output file. I would like to have the script send the online computer names to one ouput file and the off line computer names...

View Article

Trouble with convertto-html

Hi,Relatively new to Powershell and while I am finding my way around the console and exporting to file formats easy to grasp, the html feature is confusing the hell out of me.Hoping to get some...

View Article


Convert PowerShell script to exe file

Hello,I want to convert/compile/package my powershell scripts to exe file.Is there any free way to do it, and if not what kind of tool can I use to make it hapen?

View Article

Problem using "Set-Printerproperty"

Need help I have problem with Set-PrinterProperty.Problem: When I try to set property "FormTrayTable" , I get the error :Set-PrinterProperty : The specified property is read-only.At line:1 char:1+...

View Article


Controlling the PowerShell Execution Policy Settings in a Domain

Q: How can I centrally control the PowerShell execution policy settings on the Windows machines in my domain to ensure that they aren't overridden by changes made by an administrator locally on a...

View Article

Read UNC Shares from file, verify directory exists and output CASE SENSITIVE...

I'm looking for a script that will verify if a directory exists by parsing through a text file of UNC shares. I want it to write the case sensitive UNC path to the output file (.csv). The original file...

View Article

Running Local Script to a Remote Host

I've been able to run the script below locally with success but I trying to figure out how to run the scrip on a remote server without the scrip residing on the remote server.-Both computers reside on...

View Article
Browsing all 6937 articles
Browse latest View live