2013-05-22 36 views

回答

-1

$變量=新物體[Google.GData.Spreadsheets.ListEntry]

+0

這會讓PowerShell查找名爲[Google.GData.Spreadsheets.ListEntry]的類。 –

2

的點是沒有問題的。如果你認爲這是你可以把類名放在'

你可能沒有加載程序集。先做。

# PowerShell 3 
Add-Type -Path 'C:\Path\To\Your\Assembly.dll' 

# PowerShell 2 
[System.Reflection.Assembly]::LoadFrom('C:\Path\To\Your\Assembly.dll') | Out-Null 
相關問題