我试图在Windows资源管理器(Windows 10)中设置快速访问链接,但我收到错误"您无法在空值表达式上调用方法。在C:\ scripts \ new1.ps1:3 char:1
$folder2 = '\\disabilityrightstexas-
my.sharepoint.com@SSL\DavWWWRoot\personal\' + $env:username +
'_disabilityrightstx_org\Documents'
$QuickAccess = New-Object -ComObject shell.application
$QuickAccess.Namespace($folder2).Self.InvokeVerb("pintohome")