hi,
---------------windows server 2016 & windows 10 Evaluation Editions--> downloaded from microsoft official web sites--------------------------------------
host --> windows 10 (Major Minor Build Revision
----- ----- ----- --------
10 0 18363 0)
(build 18362.19h_release.190318-1202)
-----------------------------------------------------------------
guest -->1} domain controller(windows server 2016) --> Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
(build 14393.rs1_release.180427-1804)
-------------------------------------------------
guest -->2} member server1 (windows server 2016)
---Same as Above
------------------------------------------------
guest -->3} member server2 (windows servrer 2016)
----Same As Above
--------------------------------------------------
guest -->4} nano server1 (windows server 2016) -->Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
Version Build Number
GA \ RTM 10.0.14393.0
===
Name Version DynamicOptions
---- ------- --------------
NanoServerPackage 1.0.1.0 ToVhd, FromVhd, DisplayCulture, Culture, ImagePath, Default
NuGet 2.8.5.205 Destination, ExcludeVersion, Scope, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate
PowerShellGet 1.0.0.1 PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter, Tag, Includes, DscResource, RoleCapability, Comm...
====
=====
Name Version Source ProviderName
---- ------- ------ ------------
Package_for_KB4132216 10.0.1.0 Local Machine NanoServerPackage
Microsoft-Windows-ServerDat... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_KB4091664 10.0.5.0 Local Machine NanoServerPackage
Microsoft-Windows-Foundatio... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_RollupFix 14393.2580.1.9 Local Machine NanoServerPackage
Microsoft-NanoServer-Guest-... 10.0.14393.0 Local Machine NanoServerPackage =====
======
Name InstallationPolicy SourceLocation
---- ------------------ --------------
PSGallery Untrusted https://www.powershellgallery.com/api/v2 ======
-------------------------------------------------
guest -->4} nano server2 (windows server 2016)
----same as above
------------------------
i know nanoserverpackage provider does not support PowerShell Direct so i tried using PowerShell Remoting & I was successfull in installing "NanoServerPackage" Provider.
i have already installed all updates. Firtst i had added nano server to domain but it failed with following PSCmdlts, same with non domain member.
i have searched extensively over internet for below errors but in vain.
----i tried this as well(as given in one of the forum) --
Save-HTTPItemUsingBitsTransfer
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\NanoServerPackage.psm1
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\savehttpitemusingbits.psm1
i disabled 3 lines in nanoserverpackage.psm1 on nano server and replaced it with a line of code as specified by the author--> not it is not giving error "Bits transfer...." but still not able to download a package
------------------
install-PackageProvide -Name NanoSeverPackage -verbose --> success
import-PackageProvider -Name NanoServerPackage --verbose --> success
find-NanoServerPackage--> Errors
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
install-Package -name Microsoft-NanoServer-Storage-Package --> errors
VERBOSE: Using the provider 'NuGet' for searching packages.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Using the provider 'NanoServerPackage' for searching packages.
VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Downloading https://nanoserverpackage.blob.core.windows.net/nanoserver-ga-2016/searchNanoServerIndex.txt to C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.tx
t
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
Install-Package : No match was found for the specified search criteria and package name 'Microsoft-NanoServer-Storage-Package'. Try Get-PackageSource to see all available registered package sources.
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
same with -->
install-Package -name Microsoft-NanoServer-DCB-Package --> errors
install-Package -name Microsoft-NanoServer-IIS-Package --> errors
i have left no stone unturned but in vailn, i have almost exhausted all options,i am not yet given up.
Kindly reply ASAP if Possible, your reply will be highly appreciated, thank you so much in advance. thanks again Sir..
---------------windows server 2016 & windows 10 Evaluation Editions--> downloaded from microsoft official web sites--------------------------------------
host --> windows 10 (Major Minor Build Revision
----- ----- ----- --------
10 0 18363 0)
(build 18362.19h_release.190318-1202)
-----------------------------------------------------------------
guest -->1} domain controller(windows server 2016) --> Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
(build 14393.rs1_release.180427-1804)
-------------------------------------------------
guest -->2} member server1 (windows server 2016)
---Same as Above
------------------------------------------------
guest -->3} member server2 (windows servrer 2016)
----Same As Above
--------------------------------------------------
guest -->4} nano server1 (windows server 2016) -->Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
Version Build Number
GA \ RTM 10.0.14393.0
===
Name Version DynamicOptions
---- ------- --------------
NanoServerPackage 1.0.1.0 ToVhd, FromVhd, DisplayCulture, Culture, ImagePath, Default
NuGet 2.8.5.205 Destination, ExcludeVersion, Scope, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate
PowerShellGet 1.0.0.1 PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter, Tag, Includes, DscResource, RoleCapability, Comm...
====
=====
Name Version Source ProviderName
---- ------- ------ ------------
Package_for_KB4132216 10.0.1.0 Local Machine NanoServerPackage
Microsoft-Windows-ServerDat... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_KB4091664 10.0.5.0 Local Machine NanoServerPackage
Microsoft-Windows-Foundatio... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_RollupFix 14393.2580.1.9 Local Machine NanoServerPackage
Microsoft-NanoServer-Guest-... 10.0.14393.0 Local Machine NanoServerPackage =====
======
Name InstallationPolicy SourceLocation
---- ------------------ --------------
PSGallery Untrusted https://www.powershellgallery.com/api/v2 ======
-------------------------------------------------
guest -->4} nano server2 (windows server 2016)
----same as above
------------------------
i know nanoserverpackage provider does not support PowerShell Direct so i tried using PowerShell Remoting & I was successfull in installing "NanoServerPackage" Provider.
i have already installed all updates. Firtst i had added nano server to domain but it failed with following PSCmdlts, same with non domain member.
i have searched extensively over internet for below errors but in vain.
----i tried this as well(as given in one of the forum) --
Save-HTTPItemUsingBitsTransfer
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\NanoServerPackage.psm1
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\savehttpitemusingbits.psm1
i disabled 3 lines in nanoserverpackage.psm1 on nano server and replaced it with a line of code as specified by the author--> not it is not giving error "Bits transfer...." but still not able to download a package
------------------
install-PackageProvide -Name NanoSeverPackage -verbose --> success
import-PackageProvider -Name NanoServerPackage --verbose --> success
find-NanoServerPackage--> Errors
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
install-Package -name Microsoft-NanoServer-Storage-Package --> errors
VERBOSE: Using the provider 'NuGet' for searching packages.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Using the provider 'NanoServerPackage' for searching packages.
VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Downloading https://nanoserverpackage.blob.core.windows.net/nanoserver-ga-2016/searchNanoServerIndex.txt to C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.tx
t
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
Install-Package : No match was found for the specified search criteria and package name 'Microsoft-NanoServer-Storage-Package'. Try Get-PackageSource to see all available registered package sources.
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
same with -->
install-Package -name Microsoft-NanoServer-DCB-Package --> errors
install-Package -name Microsoft-NanoServer-IIS-Package --> errors
i have left no stone unturned but in vailn, i have almost exhausted all options,i am not yet given up.
Kindly reply ASAP if Possible, your reply will be highly appreciated, thank you so much in advance. thanks again Sir..