Quantcast
Browsing all 21975 articles
Browse latest View live

exploring $profile makes me ask a question about Format-List

Look at this sequence of commands below and the results using powershell.exe v3. Why does adding the -force parameter to that last command make it display the NoteProperties ? And, why is the value of...

View Article


Windows Server Backup Using Powershell

HiAm using the VSS to backup some directory to shared path. I want to backup again , at the time only backup modified files or new files, not all completely. ( differential backup )add-pssnapin...

View Article


How to expire an AD account 30 days from 1st login

How can I expire or disable an AD account 30 days from 1st login?Jason

View Article

Powershell - Filtern nach Pfaden

Hi,ich wollte mir mit get-childitem die Unterordner eines Ordners anzeigen lassen und durch Pipelining die Ergebnisse rausfiltern lassen, in deren Pfad ein bestimmtes Wort vorkommt.get-childitem...

View Article

Windwos PowerShell Host initialization crash

Hi,I've installed a fresh Windwos 8.1 Enterprise. After installing Visual Studio 2013 with Update 2 I'm unable to start PowerShell. I've noticed powershell is not running after trying to initilize the...

View Article


AD Id Expiry date output

Hello All,In our organisation, we have temp employee for whom we create a AD Id and set the user account expiry date of 45 days after creation of AD Id. We have been asked to generate the list of temp...

View Article

PowerShell GUI Overlapping Controls

I'm using PowerShell studio to make a GUI which basically reads in loads of user input avoiding the console and does it in a sort of a setup program, like an installer (next, next, next). The thing is...

View Article

Update Mail and UserPrincipalName Attributes to be the same as ProxyAddress?

HelloI have an AD environment with an IMAP mail system that I am migrating to Office365.I have a script that I use to add SMTP addresses to the ProxyAddresses attribute for each user in AD. This calls...

View Article


Unable to import ActiveDirectory module

I'm running Windows 7 Pro with PowerShell 4. The AD cmdlets I had been using have stopped working since upgrading from PSv3. I've enabled the Active Directory Module for Windows PowerShell in the...

View Article


Manage MSMQ is missing from Failover Cluster Manager when configured using...

Hi,I am hoping someone would be able to help me as I have looked on the internet for an answer to this. We deploy a number of servers that are configured using Powershell. I am in the process of...

View Article

Sharepoint and AD value comparison fails when the string contains an "&"...

Here's the problem...I have a PowerShell script to take user details from AD and put them into a SharePoint WSS3.0 list. The list has Version History switched on so each time the script is run (daily)...

View Article

powershell script to monitor mcAfee status

Hi,  I am very new to powershell. Is there any way through which we may monitor Mcafee update scenario: if its not gettting updated and failing, we shall recive mail that update failed i checked for...

View Article

how combine multiple properties from one array to another

im trying to script for rodc , which will schedule connect through vpn and see which password was changed last time, if password changed, it will replicate them , so ,,lets say i have,$adusers = $users...

View Article


Invoke-command causes "Not enough quota is available to process this command"

When executing commands interactively everything works as it should but executing the same commands via a scriptblock using invoke-command returns the Failed to execute: Not enough quota is available...

View Article

Is it possible to create a cmdlet using PS script ?

Mostly cmtlets are compiled code which are written in c#. Is it possible to create powershell cmdlets using powershell script ? -Pranav

View Article


where are docs for VirtualMachine object

Where is the documentation for the Microsoft.HyperV.PowerShell.VirtualMachine object? (The "Get-VM" cmdlet returns these objects.) Maybe I'm blind but I can't find documentation for the properties for...

View Article

auto generated types and ps1xml formatting files

Hello,I'm using New-WebServiceProxy to work with a web service... when I call methods of the web service powershell auto generates types, for example, things like...

View Article


Position a windows form with Powershell

Hi thereI have something like :void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") $objForm =...

View Article

Reading registry values on remote servers using a list of servers in PowerShell

I am a newby to PowerShell and I need some help in writing a script.  I have found out how to get the registry values from remote servers by the following  reg query command:reg query...

View Article

Script for Exporting Windows Event logs

Hi Guys,I Need a script to Export Windows Security Failure event logs for a specific Event ID within a specified Date/time Range in CSV / Xls format.OS: Windows Server 2K3ThanksSanket Joshi

View Article
Browsing all 21975 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>