Powershell script for CSV permissions not displaying "allow full control,...
Hi, I have a script that runs in powershell and check security permissions on folders and writes them to a csv file. In my csv file I want it to output this to include "Allow Full Control, this...
View ArticleI cannot post
When I try to create a new post in a forum, I get the error that I don't have permission.I don't see any options in my profile for that. Can anyone help?TIAAlex
View ArticleControlling Windows Update Using PowerShell
Using PowerShell to manage Windows Updates on computers follows along the old "even if you could, should you?" adage. From a techie's perspective that answer is always a resounding "Yes!" In the...
View ArticleUsing PowerShell to Build your Azure VM Environment
In a previous post I wrote about Using a Hyper-V VHD in an Azure VM. Today I’d like to show you what my next steps were. My goal with using Azure is to create an lab environment for student that fits...
View ArticleUse PowerShell to Apply Central Access Policy
Q: How can I use PowerShell to set the Dynamic Access Control Central Access Policy that's applied to a folder?A: Dynamic Access Control allows Central Access Policies to be created that contain...
View ArticleWindows 2008R2 last successful backup
I have a system monitoring system that expects to see a singly code returned to it when it runs a script. The code I'm looking for is the number of days since last successful backup. The even id is 4...
View ArticleHow to get MS Office product key
Hello all, I would like to ask if is possible to get MS Office Product key from registry using powershell. I have one script which gets Windows Product key I need same think for office. Is it possible...
View ArticleHow can I force array context in a Powershell script
Hi,Create the file c:\temp\temp.txt with the single line "cd foo" (without the quotes).Then try this:$dirs=Get-Content c:\temp\temp.txt | Where {$_ -match "^cd "}$dirs[0] (equals "c")Now add the line...
View ArticleOakley uk tefcwww.poverty.org.ukfindingsuk%20findings%20fig1.asp mulberry uk...
Some heart unhappy deputy mayor, police chief Dengjin You, but it is taking advantage of this Kong Danger minister calls with organizationssaid something about children here, but also said some whine...
View ArticleScript to install multiple .msu Windows Hotfixes
I am writing a simple script that will install multiple hotfixes that cannot be added to the WSUS catalog. The hotfixes are placed on a share and are available to any new builds of the OS. All of the...
View ArticleExperts Exchange > Programming > Prog Languages > Scripting Languages >...
'm using the below PowerShell script, by @hicannl which I found here: http://gallery.technet.microsoft.com/scriptcenter/PowerShell-Create-Active-7e6a3978#content, for bulk creating users from a CSV...
View ArticleDS 6.9 Powershell scripts executionpolicy
When I run a powershell script from the DS 6.9 SP6, either inline using the #powershell designation or from an external ps1 script, it complains that "powershell execution policy is restricted". Read...
View ArticleOne-liner PowerShell to set IP Address, DNS Servers, and Default Gateway
A fun part about configuring servers is that many servers still have static IP addresses. The challenge is losing connectivity to the server when the configuration change is made. Even with remote...
View ArticleImport CSV Cleanup into PowerShell
I love using Import-CSV because anything you import will be converted into an object. The source of your CSV file can come from anywhere. It does not have to be created in PowerShell. This is extremely...
View ArticleExchange 2007 Bulk User creation
I'm having some trouble with a script I've created and hoping someone can help. I need to create over 100 thousand 'Mail Contacts' and hide them from the Exchange Gal while creating them. I've been...
View ArticleGet-AdUser and the msExchHideFromAddressLists attribute
Hi,I'm trying to run a query that will show me all users in the Domain that have there showInAddressBook attribute set to null and the msExchHideFromAddressLists set to True. I'm having trouble...
View ArticleExport group membership of user to csv file
Hi, When I run the follwoing command to display group membership of a user I can see the groups.get-aduser -filter { CN -eq "username" } -searchbase 'ou=users,dc=domain,dc=com' -properties memberof |...
View ArticlePowerShell Script To Stop/Start Application Pools In IIS 7.5 Servers Remotely
Hello:Currently, I have the following script which works OK inside the server where I am running for one application pool (in the below case...
View Articleneed some help from powershell newbie
I am new to poweshell, I have this modified script running file on local PC but cannot use remote call . (Powershell remoting is enabled via GPO )The script running fine at local host icm...
View ArticlePowershell scripting Merge VHD Help
Hi all, I was wondering if there is a way that powershell will automate these steps(Recovering Your Virtual Machine. How to Manually Merge Hyper-V Snapshots Back into one VHD)?...
View Article