Quantcast
Browsing all 21975 articles
Browse latest View live

Active Directory Powershell command error for some users

Hello,I use following command to get a user DL membership using active directory module for PowerShellGet-ADPrincipalGroupMembership username |select name,group* | ft  -autosize . This command in...

View Article


Import x500 Exchange LegacyDN into Office 365

Good afternoon, I need some help with importing legacyExchangeDN address' from our soon to be old Exchange 2010 email server to our new Office 365 subscription in order to avoid the inevitable bounce...

View Article


How to find user authentication in office 365 using powershell commands

Hi,Office 365 is implemented in my organization.I want to know how to find the authentication of users in Office 365 using powershell commands when users try  to login using lync or exchange online or...

View Article

Generating an MSI Transform file from PowerShell

So near, and yet so far...I've been trying to find a way to generate an MST file on-the-fly as part of deployment automation.  The script below works, in that it generates an MST file, which - when I...

View Article

connect sql, get data, add column, export csv

Hi,I need to connect to SQL Server 2005 via remote powershell with SQL Authentication, run a query and export it to csv with different column headers. Bu I also want add one or two more columns with...

View Article


Getting format-default : The following exception occurred while retrieving...

Hi,I am writing a simple powershell commands in powershell 2.0 running on Windows 2003 server. I verified the userid and password are correct. But I am getting "Getting format-default : The following...

View Article

check user account control enabled or not ?

$servers="DEN-DC-01", "DEN-GW-01", "DEN-SRV-01","DEN-SRV-02","FTC-CL1-01" Function get-UserAccountControl ($server) { $uac=(Get-ItemProperty...

View Article

list activesync users who have 10 mobile partnership

Is there any way to findout the activesync user who have 10 mobile partnershipAny help would be greatly appreciatedThank you!

View Article


WMI DCOM ports Help

Hi Friends,I need your help - and this time on WMI.As you know WMI uses DCOM and which internally uses a range of Ports to communicate - my queries are not able to communicate between two data centers...

View Article


ftp upload subfolder content with powershell script... get trouble reading...

Hello All, I'm trying to run a script that will get all the content of a folder (and its subfolder) to be uploaded to an fTP server. I'll explain a bit the architecture of the folder: The main folder...

View Article

Format list from a variable.

Hello.This is to see what passwords are running out.It works, I get the e-mail with the correct data but it's in one line in the e-mail.I would like it to fl...If I just have $data it's o.k but the...

View Article

Image may be NSFW.
Clik here to view.

not finding RDSConfiguration in Remote desktop services

when i go to cd RDS: and do DIR i see only LicenseServer not RDSConfiguration because of which i am not able to go to RDSConfiguration and change the session limits. Please refer the image for more...

View Article

Windows counter script in powershell

What I was hoping to do is grab some windows counters and output it as something like this ID, Hostname, Timestamp, CPU % usage, Disk I/O, network trafic, Memory %usageWhat I want to see if once I take...

View Article


Interested in monitoring script performance

So was I so I delved into the world of the Powershell Parser and the AST to develop the PoSHProfiler.PoshProfiler is a proof of concept project demoing the use of the Powershell parser and its ability...

View Article

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 Article


Powershell: Searching AD for computers that are not members of multiple groups

I'm trying to write a Powershell script that searches AD for computers that are NOT a member of a group.  Basically, this is a maintenance task that will output a list of computers that were added to...

View Article

Advanced NTFS Permissions Output

Greetings,Hello to all this is my first post here and was trying to get some output for an application team concerning NTFS permissions on shares.  I understand how to get output utilizing the...

View Article


script to popup a warning before sending a message...

With exchange 2010 scripting, is it possible to popup a warning message in outlook 2010 email client when a file is attached to an email message ?..if so , could you provide the scripting to do...

View Article

Now available: SFTP Powershell module

I recently put together an SFTP Powershell module to demo the use of 3rd party assemblies and comment based help.  I uploaded the solution to the gallery should anyone be...

View Article

Script to recover tombstoned AD accounts

Does anyone have a decent script for recovering tombstoned AD accounts that they use?  If a user gets deleted from AD, I understand that you can recover that account back into AD with the attached...

View Article
Browsing all 21975 articles
Browse latest View live


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