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

Using PowerShell to manage WDS in Windows Server 2012 R2

In Windows Server 2012 R2 Microsoft finally added in PowerShell support for Windows Deployment Services.Read More

View Article


gwmi win32_product error ONLY in win xp

Hi  All,I am creating a script to collect some system information for multiple servers. As a part of it, I am collecting softwares installed in group of machines. I am taking the list of softwares...

View Article


QAD tools vs default PS cmdlets

Hi,What are the major differences between the two and which technology would should I use? Thanks!

View Article

View installed updates.

Hi,In powershell is there any cmdlet or any other way to list all the installed updates on a windows 7 PC. I have tried Get-Hotfix but it not giving the total list of updates installed on a PC.

View Article

Cannot export certain attributes that ARE populated

Hi,Can anyone explain why when using QAD cmdlets I cannot eport certain attributes? eg, if I run the following Get-QADUser * -searchroot 'ou=users,dc=domain,dc=com' | select -property name,...

View Article


Management OData IIS Extension

Does anyone know of any documentation aside from the broken links on MSDN that link to dead VS projects?  I've spent too many hours looking for any documentation on exposing some custom modules via...

View Article

Help needed with running powershell iusing psexec

I am trying to call a powershell script using psexec which connects to remote systemSo from "Computer A" I call the batch file Aot.bat which is on "Computer B"Aot.bat has a line which calls the...

View Article

Used Disk Space

Hi Masters, I would like to get "remotely" more servers Disk infos as: Diskname,WholeDiskSize,FreeSpace,UsedDiskSpace.What I have done until now:function Get-FreeSpace {gwmi win32_volume -Filter...

View Article


Using PowerShell to parse TSM backup logs

Good afternoon.  I have written a script to evaluate and parse the event logs on several servers that use TSM (Tivoli Storage Manager).The script has worked for the most part right up to the new...

View Article


Simple PowerShell Backup Script

It's been a good run doing a post every day. I'm scaling it back a bit. I liked getting these 36 posts out one a week day for some time now. I'm going to scale back. I"m not sure yet if I'll go down to...

View Article

Office 365 PowerShell Tip – Keeping EmailAddress and UPN in Sync

UPN’s are a nice way for our users to remember their usernames.  A UPN essentially has the same format as an email address.  Rather than having users login to their workstations or intranet resources...

View Article

Modify Columns and Stored Procedures in PowerShell

How many times have you run into a case where your database design is "almost" right?  Maybe you're upgrading from an earlier version of SQL Server and want to take advantage of some new features after...

View Article

PowerShell for EAP-PEAP secured VPN on Windows 8.1

Simple VPN configurations can be deployed by Group Policy but EAP authentication settings cannot be configured like this, even using Windows 8.1 and Windows Server 2012 R2.Read More

View Article


Fetching all users from two different OU's in AD through powershell

Hi,In my ADUC there are two different OU's namely TestOU1 ans SampleOU1.These two OUs are seperate OU's.I want to fetch all the users present in both OU's through powershell command.I am very new to...

View Article

automation of emc (symcli commands)

If you are familiar with EMC solutions enabler (which provides DOS command-like commands) like symcfg list, which outputs a list of the emc storage arrays located in a particular site by firmware code...

View Article


Remove-Item does not work (Permissions) but "cmd /c 'rd /s /q directory' "...

Hallo,I would like to delete a directory of a user with the powershell (I 've run it as administrator):PS C:\Users> Remove-Item DIRECTORY -Force -Recurse    + CategoryInfo          :...

View Article

import users into AD

anyone, please help me on this script  the script ::: Import-Module ActiveDirectory  $TXT = Import-Txt -Delimiter "0100" -Path "$mybooks.txt" $AD = Get-ADUser -Filter * -SearchBase...

View Article


Cannot update attribute

Hi Can anyone tell me whats wrong the following basic bit of code?It returns: cmdlet ForEach-Object at command pipeline position 1 supply values for the following parameters:Process[0]:$Users =...

View Article

Reinstall News app with powershell

The Metro or Modern apps in my Windows 8 stopped working when I upgraded to 8.1  Researching the problem I uninstalled the News app that comes with Widows. Then I tried to add it back. I only have a...

View Article

Quick Tip: Self signed certificates made easy with PowerShell!

Most solutions today require certificates in some way, which means we need them even when setting up a lab/test environment. If you for some reason don’t have a PKI/CA infrastructure in your lab...

View Article
Browsing all 8411 articles
Browse latest View live