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

Reply To: AD Group Focus

There’s no central list that tells you what a group has been granted permissions to; you’d have to scan every securable object (file, folder, share, registry key, AD objects, etc) to find that out....

View Article


Reply To: Help with Exchange Mailbox Permissions Script

Although the previous version of this function that I posted earlier worked, all of the “-like” operators should have been replaced with the “-eq” operator. Looks like I forgot to finish changing them...

View Article


Reply To: Adding printer from print server

Make sure the printer drivers for the specific operating system and architecture exist on the new print server, but I’m going to assume that’s already been done. I’m guessing that user access control...

View Article

Reply To: Get-content of files in different folders and compare if any...

I’m not sure what you mean by that. Assuming you have a file named ‘test.txt’ in folders A\, A\SubFolder1 , B\, and B\SubFolder2 , which combinations of files would you want to compare? What would you...

View Article

Reply To: Adding printer from print server

I did something very similar to this, but using Group Policy logon scripts and WMI to add the printers vs. a COM object. It may or may not be useful but we didn’t have any issues with driver popups....

View Article


pssession

I’m attempting to use PSSESSION from a computer that has PS Version 3 to a computer that has PS Version 2.0 but I am unable. I have been able to use PSSESSION from a 2.0 to a 2.0 with no problem....

View Article

Reply To: pssession

Check your WSMAN ports on the 2.0 machine; the defaults changed from 80 (HTTP) and 443 (HTTPS) to 5985 (HTTP) and 5986 (HTTPS) to avoid conflicts with web servers. See...

View Article

Reply To: pssession

Thanks for the reply Read the blog that you posted, I checked the ports and everything seems to be fine. Still not working. I can get from the Win7 desktop to Win7 desktop, from Win7 desktop to 2012...

View Article


Reply To: pssession

What error messages are you getting?

View Article


Reply To: pssession

new-pssession : [win7desktop02] Connecting to remote server win7desktop02 failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is...

View Article

Reply To: pssession

Not sure if this will help, but the results from winrm e winrm/config/listener PS C:\Windows\system32> winrm e winrm/config/listener Listener [Source="GPO"] Address = * Transport = HTTP Port = 5985...

View Article

Reply To: pssession

The listener configuration on the domain controller is irrelevant, in this case. What do you get when you run that command on win7desktop02? The error message you’re getting is a simple failure to...

View Article

get Directory Size

Hi Guys, I am new in Power shell. I will appreciate if somebody answer my question. I am going to get the size of directory ( considering subdirectories , files and folders ) . Here the command which...

View Article


Reply To: get Directory Size

Directories don’t have a size. The “size” of a directory is the sum of the sizes of the files contained in the directory. So the command is only giving you file sizes – because that’s the only thing...

View Article

Reply To: pssession

to clarify, I can ping win7desktop but not by the hostname, only by IP address.

View Article


Reply To: Need help with two powershell scripts.

i just gave it a run and it worked great. i just added the -confirm:$false so i do not have to answer the prompts to confirm each user mailbox export. Get-Mailbox -Database “ftlx5\Fourth Storage...

View Article

Reply To: pssession

I swear I don’t get it. I can’t ping win7desktop02 from my DC/DNS server but I can from my FS01 (another 2012 server). I can also use new-pssession while on FS01 also so it’s obviously nothing to do...

View Article


Reply To: pssession

I don’t really have enough information to answer that, at this point. For a start, what’s the output from “ipconfig /all” on the DC, win7desktop02 and FS01?

View Article

Reply To: AD Group Focus

Thanks Dave

View Article

Reply To: AD Group Focus

Maybe the NTFSsecurity module is useful: https://ntfssecurity.codeplex.com/

View Article
Browsing all 13067 articles
Browse latest View live