CodeConnect.Net Beta


   Explore    Entry   Register  Login  
windowsxp-general
access
windows-vista-mail
windows-vista-general
windowsupdate
windowsmedia-player
access-forms
windows-live-mail-desktop
windowsxp-help_and_support
access-queries
access-modulesdaovba
access-formscoding
windows-server-sbs
windows-server-general
access-reports
windows-vista-music_pictures_video
windowsce-platbuilder
windows-live-messenger
windows-terminal_services
windows-powershell
windows-server-active_directory
access-gettingstarted
windows-mediacenter
windowsxp-hardware
windowsxp-network_web
windows-64bit-general
windows-live-sync
windows-vista-hardware_devices
windows-inetexplorer-ie6_outlookexpress
windows-group_policy
windows-server-networking
windows-vista-installation_setup
windows-vista-networking_sharing
windowsxp-basics
access-tablesdbdesign
windowsxp-perform_maintain
windows-vista-performance_maintenance
windows-networking-wireless
windows-vista-file_management
windows-inetexplorer-ie6-browser
windows-server-dns
windows-server-update_services
windows-vista-security
windows-vista-administration_accounts_passwords
windows-vista-games
windows-file_system
windows-live-foldershare
windows-live-photogallery




Can Reply:  Yes Members Can Edit: No Online: Yes
Zone: > Microsoft News > microsoft.public.windows.powershell Tags:
Item Type: Date Entered: 12/13/2009 1:27:36 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 125 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
Lars <larzeb@gm
NewsGroup User
Different results same directory client and server12/13/2009 1:27:36 AM
Reply

0

I cannot access files in a specific directory on a server (Windows
2008 R2) which appear to be present in the same directory from the
client's (Windows 7) view. Also, 'get-acl' is returning an error which
probably indicates the nature of the problem but I'm not experienced
enough to understand.

zebay is the name of the Windows 2008 server.

Can anyone shed some light, please? Thanks, Lars

From Client:
===================================================================
PS C:\Users\larry> cd \\zebay\zebaydata\client_backup\macey
PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup> get-acl macey
Get-Acl : Method failed with unexpected error code 50.
At line:1 char:8
+ get-acl <<<< macey
+ CategoryInfo : NotSpecified: (:) [Get-Acl],
InvalidOperationException
+ FullyQualifiedErrorId :
System.InvalidOperationException,Microsoft.PowerShell.Commands.GetAclCommand

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup> cd macey
PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup\macey> get-acl chrome
Get-Acl : Method failed with unexpected error code 50.
At line:1 char:8
+ get-acl <<<< chrome
+ CategoryInfo : NotSpecified: (:) [Get-Acl],
InvalidOperationException
+ FullyQualifiedErrorId :
System.InvalidOperationException,Microsoft.PowerShell.Commands.GetAclCommand

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup\macey> dir chrome


Directory: \\zebay\zebaydata\Client_Backup\macey\chrome


Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 11/17/2009 6:31 PM 126833457 Chrome_20091117_1830.zip
-a--- 12/2/2009 6:31 PM 138180977 Chrome_20091202_1830.zip
-a--- 12/3/2009 6:31 PM 140177269 Chrome_20091203_1830.zip
-a--- 12/4/2009 6:31 PM 140600922 Chrome_20091204_1830.zip
-a--- 12/5/2009 6:31 PM 141869412 Chrome_20091205_1830.zip
-a--- 12/6/2009 6:31 PM 142361803 Chrome_20091206_1830.zip
-a--- 12/7/2009 6:31 PM 144654455 Chrome_20091207_1830.zip
-a--- 12/8/2009 6:31 PM 145991363 Chrome_20091208_1830.zip
-a--- 12/9/2009 6:31 PM 146842261 Chrome_20091209_1830.zip
-a--- 12/10/2009 6:31 PM 147630978 Chrome_20091210_1830.zip
-a--- 12/11/2009 6:31 PM 147868891 Chrome_20091211_1830.zip
-a--- 12/11/2009 6:31 PM 147868891 Chrome_20091211_1830a.zip

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup\macey>

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup\macey> get-acl .\chrome\Chrome_20091117_1830.zip
Get-Acl : Method failed with unexpected error code 50.
At line:1 char:8
+ get-acl <<<< .\chrome\Chrome_20091117_1830.zip
+ CategoryInfo : NotSpecified: (:) [Get-Acl],
InvalidOperationException
+ FullyQualifiedErrorId :
System.InvalidOperationException,Microsoft.PowerShell.Commands.GetAclCommand

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\Client_Backup\macey>

From Server:
===================================================================
PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey> dir

Directory: \\zebay\zebaydata\client_backup\macey

Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 12/2/2009 8:23 PM Chrome
d---- 11/16/2009 1:11 PM mRemote
d---- 12/2/2009 8:23 PM Outlook


PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey> get-acl chrome

Directory: \\zebay\zebaydata\client_backup\macey

Path
Owner Access
----
----- ------
chrome BUILTIN
\Administrators ZEBAY\larry Allow FullControl...

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey> get-acl outlook

Directory: \\zebay\zebaydata\client_backup\macey

Path
Owner Access
----
----- ------
outlook BUILTIN
\Administrators ZEBAY\larry Allow FullControl...

PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey> dir chrome
PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey> dir outlook
PS Microsoft.PowerShell.Core\FileSystem::\\zebay\zebaydata
\client_backup\macey>



















1 Items, 1 Pages 1 |< << Go >> >|







Similar:

file manipulation script

how to deploy powershell?

getting the number of keys in a hashtable?

passing values... should be easy...

i thought powershell was mta

powershell: script to retrieve path of file given the filename on a remote unix server

properties of the get-eventlog cmdlet?

creating my own commandlets with c#

is it possible to run a powershell script as a windows service?

using powershell on a shared system

mount exchange 2003 databases using powershell

redirection 1>stdout.txt 2>stderr.txt

exchange - disable-mailuser

limit the recurse of gci

powershell and sysinternals utility psexec

can powershell perform event listener ?

writing bytes rather than unicode

suppressing file name and line number when using select-string

slow?

how stop powershell flashing when run with .net process object?

is there a simple, free, method to send files using ftp?

what happened to powershellguy.com

writeobject and objects owned by thread

is this a know issue?

disabling "automatically adjust clock for daylight saving changes" option

get-process, and add computer name

baffled by v2 advanced functions

help file interpretation

why are these different results

getting access to ad object properties

documentation via robodoc

null variable inside if statement

powershell for the home user

ini file compare option

codedom provider for powershell

how to get data from performance counters only for one particular process

concatenate cmdlet

invalid performance counter path

how to retrieve the script name inside powershell?

adding a group from another domain / forest

format-table is not my friend

technet.microsoft.com powershell webpages are now updated to powershell version 2

set-item and the magic -concatenate argument...

standard cmdlet verbs - 'manage'?

reoplace text in multiple word docs

using powershell to manage file associations

newbie question: basic select-object question.

powershell.exe troubles with spaces, quotes, and arguments

the windows registry

powershell in safe mode?

   
  Privacy | Contact Us
All Times Are GMT