Why there is no full-screen on maximizing Windows shells?
Following steps:Open Cmd or PoweShell in Windows 8. Type in wmic, MaximizeType in exit (just once)Start working in full screen..led me to work in fullscreen mode in Windows shells (CMD/PS). My question...
View ArticleImport / Export PST's Commands SBS 2003 & Exchange 2010
I'm Migrating from SBS 2003 to a new domain on Server 2008r2 Exchange 2010. I'm going to test out the command below when importing the PST. As long as the alias's match, I believe it should work. Is...
View ArticleInstallation
I am using PoweshellGUI Script Editor 3.0.6.21 and I tried to install the NTFSSecurity. It gives the following error:Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find...
View ArticleHelp Viewing Event Logs
hello,I'm trying a slightly complex query against a remote event log and struggling to get this working correctly.Get-EventLog -LogName Application -ComputerName xxx123 -Newest 75This works, and gives...
View ArticleFehlende Hilfe bei der Powershell V3
Warum wurde bei der PowerShell V3 die Hilfe nicht gleich mitgeliefert? Ich komme zu Problemen, wie fehlender Internetzugang, Hilfe zu dem Modul ist nicht im Distribution Point verfügbar, oder auch...
View ArticleHow to invoke a PowerShell command programmatically?
For reference, I'm trying to invoke a PowerShell command on a Windows Server 2012 vm, the code is being written inVisual C#:Long Version:I'm making a dll to run during the installation of one of our...
View Articleparsing multiple FilterSIDs when using Get-Lastlogon cmdlet.
I've been using the excellent Get-LastLogon script by Brian C. Wilhite (gallery.technet.microsoft.com/scriptcenter/Get-LastLogon-Determining-283f98ae).But I'm struggling to adapt the code to allow...
View Articletrack mssql & windows failed logins
Hi, I am trying to modify a script that i found on:http://serverfault.com/questions/233222/ban-ip-address-based-on-x-number-of-unsuccessful-login-attemptsThe above script works ok for failed windows...
View ArticlePowershell Logon script that can't be killed from Task Manager
Hi,I am having a power shell script that runs as a logon script. The script is critical and I want to prevent users from killing/stopping the process from Task Manager. I can't give admin/system...
View ArticleImport a CSV file and append a Column with Data
I am trying to import a CSV that contains records that I wish to append a column with data to and then output the CSV again. It's not working as expected and I could use some help. Thanks in...
View ArticleGet content out of "notes" field in Active Directory Distribution Group
Hi,I have a Problem with my powershell script for an AD Report:I like to get the Content out of the "notes" field from an Active Directory Distribution Group. Like to run through the AD and only catch...
View ArticleInstall fonts in windows7 with powershell
Hi all, I simply cant figure out how to install fonts, to a windows7 desktop with powershell. Copy the files to $fonts isnt enough, as you have to register the fonts into the registry Does anyonw know...
View ArticleGet string from file
Hello,I parse rtf file with powershell, I get also the content to a variable.This is a part of the content from rtf file: because of a subscription created by [DEV_test_collection]\Project Now the...
View ArticlePassword Protected Software Uninstall
Hi all, I have a situation where there is a password protected installation that needs to be removed from workstations. I have the following script but the Uninstall method ReturnValue is 1603.$app =...
View ArticleExchange Info via PS in webpage
Good MorningI am in the process of trying to publish some useful exchange info as a webpage so colleagues can check the info when it is scripted to run each morning, however because i am pulling...
View ArticleCreating help for a function with the CmdletBinding attribute
I've added help documentation to most of my functions however one function will not display the help info (when using get-help) and the function used the CmdletBinding attribute. Does help...
View ArticleTruncated output w/v3's Out-GridView results - is it avoidable?
[Updated to reflect that it's a v3 issue, not related to Win7 like I originally thought]I have a script that parses a log file, outputting date/time info, errors and XML data using out-gridview. When I...
View ArticleWellKnownObjects from AD
I am looking to us Powershell to identify the location of the Deleted objects in Active Directory using .NetFramework. The information seems to be saved in the WellKnowObjects attribute which I can see...
View ArticleDisable button after 3 presses
I thought this would be an easy one, but Im scratching my head.... Just need to allow the user 3 button presses before it becomes greyed out. Here is my code:$PostponeButton_OnClick= {...
View ArticleEncode E-Mail with Powershell
Hello,I send from TFS Server over outlook connector a mail to one server.But the e-mail is encoded.I want to parse this e-mail because I want to trigger a process.How can I encode a e-mail at drop...
View Article