Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Reply To: Logging a PSSession

Hi Don, Thanks for the confirmation!  Haven’t had any luck setting this up in the startup script, will keep digging.   Note to Microsoft: Providing the ability to run everything with delegated...

View Article


Get file info,user info,path,file size

Can someone help me to create a power shell.my requirement is that files are posted on sftp and under different folders like folder a, folder b and so on.files would be already there posted in the...

View Article


Reply To: Get file info,user info,path,file size

Sure we are more than happy to help. What have you done so far? Is there anything in particular giving you trouble?

View Article

How can I list all the Titles for Namespace?

Situation I created a Shell Application type of ComObject Get-Member reveals it has a ‘Namespace’ method. Example $Shell = New-Object -ComObject Shell.Application $Shell.NameSpace I can make a few...

View Article

Reply To: How can I list all the Titles for Namespace?

Looks like it takes an integer.  You could do something like this and work with the objects as desired (e.g. select -expandproperty Title, work with the self property, etc).  For example: $shell =...

View Article


Reply To: How can I list all the Titles for Namespace?

And, to directly answer your question, there is no programmatic way of listing the integers that it will accept. You’ll have to guess, or do as suggested and see what exists on your system. That’s an...

View Article

Reply To: How can I list all the Titles for Namespace?

Dear Cookie Monster Brilliant, stunning, just what I wanted. Naturally, it worked just as you indicated, thank you.

View Article

Reply To: How can I list all the Titles for Namespace?

I did document most of the common ones in the appendix of PowerShell in Practice

View Article


Reply To: Upper lower case sensitivity in filenames

Everyone starts learning somewhere and the important points are that you discovered your answer and that you shared it for others to learn from.

View Article


Reply To: Logging a PSSession

For those of you who stumble on this, assuming Microsoft does not address the situation, I have rudimentary logging up and running in an example startup script here. It uses a few basic functions and...

View Article

Reply To: Get file info,user info,path,file size

Hi David, I have created this script so far.Email function is working properly so i am not going to write it here.Here is what i have so far: $AlertDetails = @( @{ Filepath = “D:\File\A\Folder\”;...

View Article

PowerShell SP 2010 administration class available?

I am seeking points to classes specifically about the use of PowerShell to administer SharePoint 2010 farms.  I have taken a course based on Microsoft’s “configuring and administering Microsoft...

View Article

Manage a domain from another domain & add a local user to the domain

Hello everyone Cool, Hope you could help me, i really dispair :’(. I explain my case : - I have my computer which is in a domain and 2 servers (srv1 & srv2) in another one and they are in the same...

View Article


Reply To: PowerShell SP 2010 administration class available?

I don’t think there are any specific courses on powershell for sharepoint administration, it’s a bit too limiting. If however you would like some reading material there are several books listed on...

View Article

Reply To: Manage a domain from another domain & add a local user to the...

Are you saying that you can’t run Active Services Web Services (ADWS) on the servers that you would like to connect to? You will need that service started in order to run the PowerShell commands from...

View Article


Reply To: Get file info,user info,path,file size

What is the error message you’re getting?

View Article

Query AD and archive machines

I’m a newbie with PS and know very little about it.  Can anyone provide me a script that does the following.   Read an OU and all sub-OU’s and find all workstations that have not checked into AD for...

View Article


Reply To: problem listing services

good spot, thanks. got it working just by adding that.

View Article

Reply To: problem listing services

Don’t worry though, it’s an easy mistake to make. I’ve seen Don make the same mistake in one of his training videos. Also you have exposed your stea re-purposing of code because you forgot to change...

View Article

Reply To: problem listing services

haha,yeah, i am the copy and paste king. actually i’m just converting to posh from vbs, so copying and adjusting is the norm for me right now.

View Article
Browsing all 13067 articles
Browse latest View live